OSDN Git Service

h264: increase MAX_SLICES to 32
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 5 Dec 2014 03:46:13 +0000 (03:46 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 8 Dec 2014 13:30:38 +0000 (13:30 +0000)
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

index cd4bf87..047937a 100644 (file)
@@ -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