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>
Wed, 8 Feb 2017 20:17:50 +0000 (21:17 +0100)
commit2647ca45814a4ba60643a312f8caf0891fc3fc04
tree20963280af1260aef60d8e369f2876ac288f9421
parent2e44b1041825817ef26ac378b65d5c6115405b1e
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