Commit 0006e207 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5658 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ef27c836
...@@ -1650,7 +1650,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g, ...@@ -1650,7 +1650,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
if (get_bits_count(&s->gb) >= end_pos) if (get_bits_count(&s->gb) >= end_pos)
break; break;
if (code_table) { if (code_table) {
code = get_vlc2(&s->gb, vlc->table, 8, 2); code = get_vlc2(&s->gb, vlc->table, 8, 3);
if (code < 0) if (code < 0)
return -1; return -1;
y = code_table[code]; y = code_table[code];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment