You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
libavcodec/videotoolboxenc: Fix crash when frame received after error
Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
@@ -573,7 +573,6 @@ static void vtenc_output_callback(
|
|||||||
ExtraSEI *sei = sourceFrameCtx;
|
ExtraSEI *sei = sourceFrameCtx;
|
||||||
|
|
||||||
if (vtctx->async_error) {
|
if (vtctx->async_error) {
|
||||||
if(sample_buffer) CFRelease(sample_buffer);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user