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

kostya subversion at mplayerhq.hu
Sat Jun 14 19:13:51 CEST 2008


Author: kostya
Date: Sat Jun 14 19:13:50 2008
New Revision: 2439

Log:
Cosmetics: reindent after previous commit

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sat Jun 14 19:13:50 2008
@@ -395,27 +395,27 @@ static void encode_section_data(AVCodecC
     int count = 0;
 
     for(w = 0; w < cpe->ch[channel].ics.num_windows; w++){
-    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){
-                while(count >= (1 << bits) - 1){
-                    put_bits(&s->pb, bits, (1 << bits) - 1);
-                    count -= (1 << bits) - 1;
+        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){
+                    while(count >= (1 << bits) - 1){
+                        put_bits(&s->pb, bits, (1 << bits) - 1);
+                        count -= (1 << bits) - 1;
+                    }
+                    put_bits(&s->pb, bits, count);
                 }
-                put_bits(&s->pb, bits, count);
+                put_bits(&s->pb, 4, cpe->ch[channel].cb[w][i]);
+                count = 1;
+            }else
+                count++;
+        }
+        if(count){
+            while(count >= (1 << bits) - 1){
+                put_bits(&s->pb, bits, (1 << bits) - 1);
+                count -= (1 << bits) - 1;
             }
-            put_bits(&s->pb, 4, cpe->ch[channel].cb[w][i]);
-            count = 1;
-        }else
-            count++;
-    }
-    if(count){
-        while(count >= (1 << bits) - 1){
-            put_bits(&s->pb, bits, (1 << bits) - 1);
-            count -= (1 << bits) - 1;
+            put_bits(&s->pb, bits, count);
         }
-        put_bits(&s->pb, bits, count);
-    }
     }
 }
 



More information about the FFmpeg-soc mailing list