avformat/options_table: Set the default maximum number of streams to 1000
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Dec 2016 19:15:12 +0000 (20:15 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Dec 2016 14:55:42 +0000 (15:55 +0100)
commit30581c51e72a7a7ea1572c1c6039f6e4c590a55c
tree7a95fa4ff71051e962d63b3a2109f2455be22254
parent265d45183be13a43dc08d962a5a60b15e6eff6c0
avformat/options_table: Set the default maximum number of streams to 1000

Fixes CVE-2016-9561, Note the security relevance of this is disputed as
running out of memory can happen with valid files

Suggested-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/options_table.h