aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-02-03 10:16:33 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-02-13 14:58:50 +0100
commit6d680d20ad8bf786f541bec1545bec7778b8776c (patch)
treed3910fc5cbd18b1b38a14568e6d24dae060edb66 /doc
parentb2e57eb5a3cb9d5dfab601077fa0edee91e06ca5 (diff)
downloadffmpeg-6d680d20ad8bf786f541bec1545bec7778b8776c.tar.gz
lavf/concatdec: add safe option.
Diffstat (limited to 'doc')
-rw-r--r--doc/demuxers.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 7701863e9a..2a6f7790fc 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -60,6 +60,26 @@ backslash or single quotes.
@end table
+@subsection Options
+
+This demuxer accepts the following option:
+
+@table @option
+
+@item safe
+If set to 1, reject unsafe file paths. A file path is considered safe if it
+does not contain a protocol specification and is relative and all components
+only contain characters from the portable character set (letters, digits,
+period, underscore and hyphen) and have no period at the beginning of a
+component.
+
+If set to 0, any file name is accepted.
+
+The default is -1, it is equivalent to 1 if the format was automatically
+probed and 0 otherwise.
+
+@end table
+
@section image2
Image file demuxer.