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>
pull/374/head
Googleplex 3 years ago committed by Nicolas George
parent 406ffd9b9b
commit 23a1f11d02
  1. 2
      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)

Loading…
Cancel
Save