Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-11-18 19:00:30 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-12-11 02:21:53 +0300
commit3ecbac5664014f255b1eb0d81a36079d9bfc4f41 (patch)
tree921615fdd6ed978e91f574e1002667f80f7f206c /doc
parent0e6febff5a7b4d2b823911dd2e04f0bac718ddfb (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/formats.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/formats.texi b/doc/formats.texi
index 87704afb6c..c51d4086db 100644
--- a/doc/formats.texi
+++ b/doc/formats.texi
@@ -209,6 +209,10 @@ For example to separate the fields with newlines and indention:
ffprobe -dump_separator "
" -i ~/videos/matrixbench_mpeg2.mpg
@end example
+
+@item max_streams @var{integer} (@emph{input})
+Specifies the maximum number of streams. This can be used to reject files that
+would require too many resources due to a large number of streams.
@end table
@c man end FORMAT OPTIONS