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

kostya subversion at mplayerhq.hu
Sun Jun 15 12:06:04 CEST 2008


Author: kostya
Date: Sun Jun 15 12:06:04 2008
New Revision: 2450

Log:
Cosmetics: reindent after last commit

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sun Jun 15 12:06:04 2008
@@ -246,13 +246,13 @@ static void analyze(AVCodecContext *avct
 
     if (cpe->ch[channel].ics.window_sequence != EIGHT_SHORT_SEQUENCE) {
     // perform MDCT
-    memcpy(s->output, cpe->ch[channel].saved, sizeof(float)*1024);
-    j = channel;
-    for (i = 0; i < 1024; i++, j += avctx->channels){
-        s->output[i+1024]         = audio[j] / 512 * s->kbd_long_1024[1024 - i - 1];
-        cpe->ch[channel].saved[i] = audio[j] / 512 * s->kbd_long_1024[i];
-    }
-    ff_mdct_calc(&s->mdct1024, cpe->ch[channel].coeffs, s->output, s->tmp);
+        memcpy(s->output, cpe->ch[channel].saved, sizeof(float)*1024);
+        j = channel;
+        for (i = 0; i < 1024; i++, j += avctx->channels){
+            s->output[i+1024]         = audio[j] / 512 * s->kbd_long_1024[1024 - i - 1];
+            cpe->ch[channel].saved[i] = audio[j] / 512 * s->kbd_long_1024[i];
+        }
+        ff_mdct_calc(&s->mdct1024, cpe->ch[channel].coeffs, s->output, s->tmp);
     }else{
         for (k = 0; k < 1024; k += 128) {
             memcpy(s->output + k, cpe->ch[channel].saved + k, sizeof(float)*128);



More information about the FFmpeg-soc mailing list