# HG changeset patch # User michael # Date 1156381946 0 # Node ID a20d179c79c3d453842f6ba3e68e908738840889 # Parent d97b4709aaf01347bbf4cae2817e24de3ef17c03 faster handling of zero coeffs in the low freq decode diff -r d97b4709aaf0 -r a20d179c79c3 mpegaudiodec.c --- a/mpegaudiodec.c Thu Aug 24 01:01:39 2006 +0000 +++ b/mpegaudiodec.c Thu Aug 24 01:12:26 2006 +0000 @@ -1697,6 +1697,14 @@ if (get_bits_count(&s->gb) >= end_pos) break; y = get_vlc2(&s->gb, vlc->table, 8, 3); + + if(!y){ + g->sb_hybrid[s_index ] = + g->sb_hybrid[s_index+1] = 0; + s_index += 2; + continue; + } + x = y >> 4; y = y & 0x0f;