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
1 changed files with 0 additions and 1 deletions

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;
}