[FFmpeg-cvslog] libavcodec/videotoolboxenc: Fix crash when frame received after error
Rick Kern
git at videolan.org
Tue Sep 29 04:50:47 EEST 2020
ffmpeg | branch: master | Rick Kern <kernrj at gmail.com> | 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 <kernrj at gmail.com>
> 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;
}
More information about the ffmpeg-cvslog
mailing list