avformat: Add max_streams option
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Nov 2016 16:00:30 +0000 (17:00 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Dec 2016 23:21:53 +0000 (00:21 +0100)
commit3ecbac5664014f255b1eb0d81a36079d9bfc4f41
tree921615fdd6ed978e91f574e1002667f80f7f206c
parent0e6febff5a7b4d2b823911dd2e04f0bac718ddfb
avformat: Add max_streams option

This allows user apps to stop OOM due to excessive number of streams

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1296f844955e513d19051c962656f829479d4fb9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/formats.texi
libavformat/avformat.h
libavformat/options_table.h
libavformat/utils.c
libavformat/version.h