mirror of https://git.ffmpeg.org/ffmpeg.git
memset when category is >=7, part of cook multichannel
Originally committed as revision 17987 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
16473c1376
commit
7c119ced99
|
@ -617,7 +617,7 @@ static void decode_vectors(COOKContext* q, int* category,
|
||||||
for(j=0 ; j<q->total_subbands ; j++) category[band+j]=7;
|
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_index, 0, sizeof(subband_coef_index));
|
||||||
memset(subband_coef_sign, 0, sizeof(subband_coef_sign));
|
memset(subband_coef_sign, 0, sizeof(subband_coef_sign));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue