mirror of https://git.ffmpeg.org/ffmpeg.git
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