diff options
author | Rick Kern <kernrj@gmail.com> | 2020-09-28 21:47:29 -0400 |
---|---|---|
committer | Rick Kern <kernrj@gmail.com> | 2020-09-28 21:48:23 -0400 |
commit | adcdf0bc6057a99989a28bb3d1ba65e8b66eff3d (patch) | |
tree | 138f0afd39a50ebe98ff095860173ce21c608f8a | |
parent | 9837f5a64322e89f825a99f14c1a0d27b17b183c (diff) | |
download | ffmpeg-adcdf0bc6057a99989a28bb3d1ba65e8b66eff3d.tar.gz |
libavcodec/videotoolboxenc: Fix crash when frame received after error
Signed-off-by: Rick Kern <kernrj@gmail.com>
-rw-r--r-- | libavcodec/videotoolboxenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |