From 6935aaa7484199a27fefe522669fd2593dee1397 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 24 Jun 2016 02:08:41 +0200 Subject: [PATCH] avcodec/flac_parser: Increase FLAC_MAX_SEQUENTIAL_HEADERS by 1 Fixes Ticket5343 Signed-off-by: Michael Niedermayer --- libavcodec/flac_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c index 183fe6e5c9..f5cc35a4f2 100644 --- a/libavcodec/flac_parser.c +++ b/libavcodec/flac_parser.c @@ -40,7 +40,7 @@ #include "flac.h" /** maximum number of adjacent headers that compare CRCs against each other */ -#define FLAC_MAX_SEQUENTIAL_HEADERS 3 +#define FLAC_MAX_SEQUENTIAL_HEADERS 4 /** minimum number of headers buffered and checked before returning frames */ #define FLAC_MIN_HEADERS 10 /** estimate for average size of a FLAC frame */