[FFmpeg-cvslog] r17987 - trunk/libavcodec/cook.c
banan
subversion
Sun Mar 15 15:04:25 CET 2009
Author: banan
Date: Sun Mar 15 15:04:25 2009
New Revision: 17987
Log:
memset when category is >=7, part of cook multichannel
Modified:
trunk/libavcodec/cook.c
Modified: trunk/libavcodec/cook.c
==============================================================================
--- trunk/libavcodec/cook.c Sun Mar 15 14:38:36 2009 (r17986)
+++ trunk/libavcodec/cook.c Sun Mar 15 15:04:25 2009 (r17987)
@@ -617,7 +617,7 @@ static void decode_vectors(COOKContext*
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));
}
More information about the ffmpeg-cvslog
mailing list