You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
fftools/ffmpeg_demux: initialize nb_streams_warn
Fixes spurious new-stream warnings for unused streams after
9429624a76
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user