Commit de84ff30 authored by banan's avatar banan

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17987 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d26a939f
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment