ffmpeg | branch: master | Rick Kern <[email protected]> | Mon Sep 28 21:47:29 2020 -0400| [adcdf0bc6057a99989a28bb3d1ba65e8b66eff3d] | committer: Rick Kern
libavcodec/videotoolboxenc: Fix crash when frame received after error Signed-off-by: Rick Kern <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=adcdf0bc6057a99989a28bb3d1ba65e8b66eff3d --- libavcodec/videotoolboxenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index ec445de7c2..400401550a 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -573,7 +573,6 @@ static void vtenc_output_callback( ExtraSEI *sei = sourceFrameCtx; if (vtctx->async_error) { - if(sample_buffer) CFRelease(sample_buffer); return; } _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
