[Ffmpeg-cvslog] r6084 - trunk/libavcodec/mpegaudiodec.c
michael
subversion
Fri Aug 25 14:26:34 CEST 2006
Author: michael
Date: Fri Aug 25 14:26:34 2006
New Revision: 6084
Modified:
trunk/libavcodec/mpegaudiodec.c
Log:
reduce size of vlc table, thats slightly faster here
Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c (original)
+++ trunk/libavcodec/mpegaudiodec.c Fri Aug 25 14:26:34 2006
@@ -391,7 +391,7 @@
}
/* XXX: fail test */
- init_vlc(&huff_vlc[i], 8, 256,
+ init_vlc(&huff_vlc[i], 7, 256,
tmp_bits, 1, 1, tmp_codes, 2, 2, 1);
}
for(i=0;i<2;i++) {
@@ -1705,7 +1705,7 @@
for(;j>0;j--) {
if (get_bits_count(&s->gb) >= end_pos)
break;
- y = get_vlc2(&s->gb, vlc->table, 8, 3);
+ y = get_vlc2(&s->gb, vlc->table, 7, 3);
if(!y){
g->sb_hybrid[s_index ] =
More information about the ffmpeg-cvslog
mailing list