diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index ed8d5d165a..bd267aa0ce 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -1543,6 +1543,7 @@ int ifile_open(const OptionsContext *o, const char *filename) d->loop = o->loop; d->duration = 0; d->time_base = (AVRational){ 1, 1 }; + d->nb_streams_warn = ic->nb_streams; f->format_nots = !!(ic->iformat->flags & AVFMT_NOTIMESTAMPS);