ffmpeg | branch: master | Googleplex <[email protected]> | Fri Nov 12 
14:29:11 2021 +0800| [23a1f11d02a29b788d441e1b0846a28c0f479df9] | committer: 
Nicolas George

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 <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=23a1f11d02a29b788d441e1b0846a28c0f479df9
---

 libavformat/concatdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to