We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3233554 commit 0409155Copy full SHA for 0409155
ffmpeg.c
@@ -458,7 +458,7 @@ static void ffmpeg_cleanup(int ret)
458
for (i = 0; i < nb_output_files; i++) {
459
OutputFile *of = output_files[i];
460
AVFormatContext *s = of->ctx;
461
- if (s && s->oformat && !(s->oformat->flags & AVFMT_NOFILE) && s->pb)
+ if (s && s->oformat && !(s->oformat->flags & AVFMT_NOFILE))
462
avio_closep(&s->pb);
463
avformat_free_context(s);
464
av_dict_free(&of->opts);
0 commit comments