[Ffmpeg-cvslog] r5658 - trunk/libavcodec/mpegaudiodec.c

michael subversion
Fri Jul 7 12:50:15 CEST 2006


Author: michael
Date: Fri Jul  7 12:50:14 2006
New Revision: 5658

Modified:
   trunk/libavcodec/mpegaudiodec.c

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


Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c	(original)
+++ trunk/libavcodec/mpegaudiodec.c	Fri Jul  7 12:50:14 2006
@@ -1650,7 +1650,7 @@
             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];




More information about the ffmpeg-cvslog mailing list