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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Dec 8 23:59:57 EET 2016


2016-12-08 18:37 GMT+01:00 Michael Niedermayer <michael at niedermayer.cc>:

> -{"max_streams", "maximum number of streams", OFFSET(max_streams), AV_OPT_TYPE_INT, { .i64 = INT_MAX }, 0, INT_MAX, D },
> +{"max_streams", "maximum number of streams", OFFSET(max_streams), AV_OPT_TYPE_INT, { .i64 = 100 }, 0, INT_MAX, D },

I wanted to suggest 1000 which is still a magnitude less than the provided
crashing sample but 255 also sounds ok to me.

Carl Eugen


More information about the ffmpeg-devel mailing list