You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
libavfilter/lavfutils: remove useless NULL check on format context
Fixes: CID733804 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -86,8 +86,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
|
|||||||
|
|
||||||
end:
|
end:
|
||||||
avcodec_close(codec_ctx);
|
avcodec_close(codec_ctx);
|
||||||
if (format_ctx)
|
avformat_close_input(&format_ctx);
|
||||||
avformat_close_input(&format_ctx);
|
|
||||||
av_freep(&frame);
|
av_freep(&frame);
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Reference in New Issue
Block a user