You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
get_vlc -> get_vlc2 transition.
Originally committed as revision 4828 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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_vlc(&s->gb, vlc);
|
code = get_vlc2(&s->gb, vlc->table, 8, 2);
|
||||||
if (code < 0)
|
if (code < 0)
|
||||||
return -1;
|
return -1;
|
||||||
y = code_table[code];
|
y = code_table[code];
|
||||||
@@ -1701,7 +1701,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
|
|||||||
}
|
}
|
||||||
last_gb= s->gb;
|
last_gb= s->gb;
|
||||||
|
|
||||||
code = get_vlc(&s->gb, vlc);
|
code = get_vlc2(&s->gb, vlc->table, vlc->bits, 2);
|
||||||
dprintf("t=%d code=%d\n", g->count1table_select, code);
|
dprintf("t=%d code=%d\n", g->count1table_select, code);
|
||||||
if (code < 0)
|
if (code < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user