提交 3328ec63 编写于 作者: M Michael Niedermayer

faster handling of zero coeffs in the low freq decode

Originally committed as revision 6061 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 3c693e77
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册