aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/concatdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-01-19 22:13:14 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-29 14:23:41 +0200
commitb653f7999ad3137c890d97c0f761cedd92ec31ef (patch)
treee6369f50df080828c05794ba113ad41882401eb8 /libavformat/concatdec.c
parentd33cc39eb8d989a3add397f3b8490c827831db83 (diff)
downloadffmpeg-b653f7999ad3137c890d97c0f761cedd92ec31ef.tar.gz
avformat/concatdec: set safe mode to enabled instead of auto
This is safer, as a selected demuxer could still mean that it was auto-detected by a user application Reviewed-previously-by: Nicolas George <george@nsup.org> Reviewed-previously-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 689211d5727231c3fe92762d224dbadebdbf4e30) Conflicts: libavformat/concatdec.c
Diffstat (limited to 'libavformat/concatdec.c')
-rw-r--r--libavformat/concatdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index f07cfd7e8f..5b8c76f738 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -625,7 +625,7 @@ static int concat_seek(AVFormatContext *avf, int stream,
static const AVOption options[] = {
{ "safe", "enable safe mode",
- OFFSET(safe), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, DEC },
+ OFFSET(safe), AV_OPT_TYPE_INT, {.i64 = 1}, -1, 1, DEC },
{ "auto_convert", "automatically convert bitstream format",
OFFSET(auto_convert), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, DEC },
{ NULL }