diff options
author | Googleplex <yyoung2001@gmail.com> | 2021-11-12 14:29:11 +0800 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2021-11-14 19:25:11 +0100 |
commit | 23a1f11d02a29b788d441e1b0846a28c0f479df9 (patch) | |
tree | b7ed47bb9f106aa60c80e9440f6bf4c3d7f8e71d | |
parent | 406ffd9b9b99fa096bcfe31b467453824d1542e7 (diff) | |
download | ffmpeg-23a1f11d02a29b788d441e1b0846a28c0f479df9.tar.gz |
avformat/concatdec: fix NEEDS_UNSAFE flag value
NEEDS_UNSAFE has the same value as NEEDS_FILE,
causing "duration not allowed if safe" error
while duration directive doesn't require unsafe mode.
Signed-off-by: Googleplex <yyoung2001@gmail.com>
-rw-r--r-- | libavformat/concatdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index 2557f38b26..8d80e536d1 100644 --- a/libavformat/concatdec.c +++ b/libavformat/concatdec.c @@ -409,7 +409,7 @@ static int concat_read_close(AVFormatContext *avf) } #define MAX_ARGS 3 -#define NEEDS_UNSAFE (1 << 1) +#define NEEDS_UNSAFE (1 << 0) #define NEEDS_FILE (1 << 1) #define NEEDS_STREAM (1 << 2) |