projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52fa37f
)
get_vlc -> get_vlc2 transition.
author
Benjamin Larsson
<banan@ludd.ltu.se>
Sun, 8 Jan 2006 19:31:21 +0000
(19:31 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Sun, 8 Jan 2006 19:31:21 +0000
(19:31 +0000)
Originally committed as revision 4828 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index f2df46a30ee5d1171003755b7a79b7f3006cb1bf..7154ddf61ea946068532fdff1d852c7727d0d8e7 100644
(file)
--- a/
libavcodec/mpegaudiodec.c
+++ b/
libavcodec/mpegaudiodec.c
@@
-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_vlc
(&s->gb, vlc
);
+ code = get_vlc
2(&s->gb, vlc->table, 8, 2
);
if (code < 0)
return -1;
y = code_table[code];
@@
-1701,7
+1701,7
@@
static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
}
last_gb= s->gb;
- code = get_vlc
(&s->gb, vlc
);
+ code = get_vlc
2(&s->gb, vlc->table, vlc->bits, 2
);
dprintf("t=%d code=%d\n", g->count1table_select, code);
if (code < 0)
return -1;