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>
Wed, 8 Feb 2017 20:17:50 +0000 (21:17 +0100)
commitc6fbff135880056dfc5634d5aed4b71059e1b7ae
tree858f84807aa23d52b24601290c40973bc5eb8fd1
parent774461ea629a18258ba45a707dbdc35b17d9b298
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