mirror of
https://github.com/libretro/FFmpeg.git
synced 2026-11-12 18:39:34 -10:00
libavfilter/lavfutils: remove useless NULL check on format context
Fixes: CID733804 Signed-off-by: Michael Niedermayer <[email protected]>
This commit is contained in:
1 parent
fd9e88fe60
commit
657998b5ee
1 file changed
+1
-2
@@ -86,8 +86,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
|
||||
|
||||
end:
|
||||
avcodec_close(codec_ctx);
|
||||
if (format_ctx)
|
||||
avformat_close_input(&format_ctx);
|
||||
avformat_close_input(&format_ctx);
|
||||
av_freep(&frame);
|
||||
|
||||
if (ret < 0)
|
||||
|
||||
Reference in new issue
Block a user