Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -86,8 +86,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4], · 85 unmodified lines | ||
| 86 | 86 | |
| 87 | 87 | end: |
| 88 | 88 | avcodec_close(codec_ctx); |
| 89 | − if (format_ctx) | |
| 90 | − avformat_close_input(&format_ctx); | |
| 89 | + avformat_close_input(&format_ctx); | |
| 91 | 90 | av_freep(&frame); |
| 92 | 91 | |
| 93 | 92 | if (ret < 0) |