summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12data.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-04-11 21:15:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-04-11 21:15:17 +0000
commit9c00c3af90c120742461d5217d7b276f7f512e70 (patch)
tree2dd9a1ae5138728984c5469e146d26c92c53f6b9 /libavcodec/mpeg12data.h
parent6afd3b92b43818443a193528bd4e909b96068c22 (diff)
100l (mpeg2 decoding fixed)
Originally committed as revision 1756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12data.h')
-rw-r--r--libavcodec/mpeg12data.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpeg12data.h b/libavcodec/mpeg12data.h
index 2e7e58de5a..ba52ef22e7 100644
--- a/libavcodec/mpeg12data.h
+++ b/libavcodec/mpeg12data.h
@@ -185,7 +185,7 @@ static RLTable rl_mpeg2 = {
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 @@ static const uint8_t mbAddrIncrTable[35][2] = {
{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] = {