table contains vlc with 19 bits and 8*2 < 19

Originally committed as revision 5658 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-07-07 10:50:14 +00:00
parent 5ab0f20449
commit 55582f8de3
1 changed files with 1 additions and 1 deletions

View File

@ -1650,7 +1650,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
if (get_bits_count(&s->gb) >= end_pos)
break;
if (code_table) {
code = get_vlc2(&s->gb, vlc->table, 8, 2);
code = get_vlc2(&s->gb, vlc->table, 8, 3);
if (code < 0)
return -1;
y = code_table[code];