mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libavcodec/videotoolboxenc: Fix crash when frame received after error
Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
parent
9837f5a643
commit
adcdf0bc60
@ -573,7 +573,6 @@ static void vtenc_output_callback(
|
||||
ExtraSEI *sei = sourceFrameCtx;
|
||||
|
||||
if (vtctx->async_error) {
|
||||
if(sample_buffer) CFRelease(sample_buffer);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user