[FFmpeg-soc] [soc]: r2447 - aacenc/aacenc.c

kostya subversion at mplayerhq.hu
Sun Jun 15 11:59:58 CEST 2008


Author: kostya
Date: Sun Jun 15 11:59:58 2008
New Revision: 2447

Log:
10l Codebook run counter should be zeroed for each window (group).

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sun Jun 15 11:59:58 2008
@@ -392,9 +392,10 @@ static void encode_section_data(AVCodecC
 {
     int i, w;
     int bits = cpe->ch[channel].ics.num_windows == 1 ? 5 : 3;
-    int count = 0;
+    int count;
 
     for(w = 0; w < cpe->ch[channel].ics.num_windows; w++){
+        count = 0;
         for(i = 0; i < cpe->ch[channel].ics.max_sfb; i++){
             if(!i || cpe->ch[channel].cb[w][i] != cpe->ch[channel].cb[w][i-1]){
                 if(count){



More information about the FFmpeg-soc mailing list