mirror of https://git.ffmpeg.org/ffmpeg.git
fftools/ffmpeg_demux: initialize nb_streams_warn
Fixes spurious new-stream warnings for unused streams after
9429624a76
This commit is contained in:
parent
6ee57fd2b6
commit
d43ae45de0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue