提交 7c119ced 编写于 作者: B Benjamin Larsson

memset when category is >=7, part of cook multichannel

Originally committed as revision 17987 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 16473c13
......@@ -617,7 +617,7 @@ static void decode_vectors(COOKContext* q, int* category,
for(j=0 ; j<q->total_subbands ; j++) category[band+j]=7;
}
}
if(index==7) {
if(index>=7) {
memset(subband_coef_index, 0, sizeof(subband_coef_index));
memset(subband_coef_sign, 0, sizeof(subband_coef_sign));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册