diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-09 15:51:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-09 15:55:07 +0100 |
commit | 04091552616e6c5bea754ebbee26f77cb8ba416e (patch) | |
tree | e06454b1c126f146a61449566b0e53253da574bc /ffmpeg.c | |
parent | 323355413dbe576dada9919535c7b72f2d9a66b4 (diff) | |
download | ffmpeg-04091552616e6c5bea754ebbee26f77cb8ba416e.tar.gz |
ffmpeg: remove unneeded NULL pointer check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -458,7 +458,7 @@ static void ffmpeg_cleanup(int ret) for (i = 0; i < nb_output_files; i++) { OutputFile *of = output_files[i]; AVFormatContext *s = of->ctx; - if (s && s->oformat && !(s->oformat->flags & AVFMT_NOFILE) && s->pb) + if (s && s->oformat && !(s->oformat->flags & AVFMT_NOFILE)) avio_closep(&s->pb); avformat_free_context(s); av_dict_free(&of->opts); |