diff mpeg12data.h @ 1181:4c2339f3863a libavcodec

100l (mpeg2 decoding fixed)
author michaelni
date Fri, 11 Apr 2003 21:15:17 +0000
parents fea03d2c4946
children 1cbc2380d172
line wrap: on
line diff
--- a/mpeg12data.h	Fri Apr 11 09:20:45 2003 +0000
+++ b/mpeg12data.h	Fri Apr 11 21:15:17 2003 +0000
@@ -185,7 +185,7 @@
     mpeg1_level,
 };
 
-static const uint8_t mbAddrIncrTable[35][2] = {
+static const uint8_t mbAddrIncrTable[36][2] = {
     {0x1, 1},
     {0x3, 3},
     {0x2, 3},
@@ -221,6 +221,7 @@
     {0x18, 11},
     {0x8, 11}, /* escape */
     {0xf, 11}, /* stuffing */
+    {0x0, 8}, /* end (and 15 more 0 bits should follow) */
 };
 
 static const uint8_t mbPatTable[63][2] = {