changeset 3431:ef69fc364d98 libavcodec

table contains vlc with 19 bits and 8*2 < 19
author michael
date Fri, 07 Jul 2006 10:50:14 +0000
parents d0e85690841d
children ab49baf4adad
files mpegaudiodec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegaudiodec.c	Fri Jul 07 05:02:01 2006 +0000
+++ b/mpegaudiodec.c	Fri Jul 07 10:50:14 2006 +0000
@@ -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];