1
0
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:
Rick Kern 2020-09-28 21:47:29 -04:00
parent 9837f5a643
commit adcdf0bc60

View File

@ -573,7 +573,6 @@ static void vtenc_output_callback(
ExtraSEI *sei = sourceFrameCtx;
if (vtctx->async_error) {
if(sample_buffer) CFRelease(sample_buffer);
return;
}