From 6fd91fa11909f27902498648680dbb3d13f1f175 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 5 Dec 2014 03:46:13 +0000 Subject: [PATCH] h264: increase MAX_SLICES to 32 H264 streams from CounterPath Bria and some Cisco phones need an increased pool for correct decoding. Bug-Id: 645 Sample-Id: bria-h264.mka --- libavcodec/h264.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index cd4bf87690..047937aea0 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -63,7 +63,7 @@ * The maximum number of slices supported by the decoder. * must be a power of 2 */ -#define MAX_SLICES 16 +#define MAX_SLICES 32 #ifdef ALLOW_INTERLACE #define MB_MBAFF(h) h->mb_mbaff