Commit 6ea679ba authored by michael's avatar michael

faster handling of zero coeffs in the low freq decode


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6061 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fbcb076b
......@@ -1697,6 +1697,14 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment