[FFmpeg-cvslog] h264: increase MAX_SLICES to 32

Vittorio Giovara git at videolan.org
Mon Dec 8 21:48:59 CET 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Fri Dec  5 03:46:13 2014 +0000| [6fd91fa11909f27902498648680dbb3d13f1f175] | committer: Vittorio Giovara

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

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

 libavcodec/h264.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index cd4bf87..047937a 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



More information about the ffmpeg-cvslog mailing list