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:43:29 +0000 (00:43 +0100)
commitb18a571e2355a6fb0dcb7ff7de18d36694eb65bd
tree3e9278a206c1c47fa86d19e9b4bd212f5073a6dd
parent0131f5c3769981c1e36ff124a50011702c491329
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