[FFmpeg-devel] [PATCH] avformat/options_table: Set the default maximum number of streams to 100

Marton Balint cus at passwd.hu
Sat Dec 10 14:33:24 EET 2016


On Sat, 10 Dec 2016, Carl Eugen Hoyos wrote:

> 2016-12-09 20:33 GMT+01:00 Marton Balint <cus at passwd.hu>:
>> If we still want a default limit, that limit should be IMHO
>> _insanely_ high, tens of thousands, not hundreds.
>
> Do you have a file that has hundreds of streams?

No I don't, but that does not mean that nobody has such a file, and we 
should not support it by default. Also I mentioned that corrupted sources 
can generate dummy streams.

> Note that I suggested 1000 as limit.

Even 1000 does not seems so unthinkable to me, so I suggested tens of thousands.

Regards,
Marton


More information about the ffmpeg-devel mailing list