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>
Fri, 3 Feb 2017 14:59:14 +0000 (15:59 +0100)
commit4535861ef8289e97e02d6c7c08eabd9454bbb63a
tree0afe8ec6cdad69c1936e9df422e5c53229d0a103
parent1a168061da70e622d20d0cd96c99e5f741fd4f03
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>
(cherry picked from commit 30581c51e72a7a7ea1572c1c6039f6e4c590a55c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/options_table.h