[FFmpeg-soc] [soc]: r3375 - aacenc/aacpsy.c

kostya subversion at mplayerhq.hu
Sun Aug 17 08:57:27 CEST 2008


Author: kostya
Date: Sun Aug 17 08:57:26 2008
New Revision: 3375

Log:
Format code

Modified:
   aacenc/aacpsy.c

Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c	(original)
+++ aacenc/aacpsy.c	Sun Aug 17 08:57:26 2008
@@ -156,10 +156,20 @@ static void psy_test_window(AACPsyContex
         cpe->ch[ch].ics.use_kb_window[1] = cpe->ch[ch].ics.use_kb_window[0];
         cpe->ch[ch].ics.window_sequence[1] = cpe->ch[ch].ics.window_sequence[0];
         switch(cpe->ch[ch].ics.window_sequence[0]){
-        case ONLY_LONG_SEQUENCE:   if(prev_seq == ONLY_LONG_SEQUENCE)cpe->ch[ch].ics.window_sequence[0] = LONG_START_SEQUENCE;   break;
-        case LONG_START_SEQUENCE:  cpe->ch[ch].ics.window_sequence[0] = EIGHT_SHORT_SEQUENCE; break;
-        case EIGHT_SHORT_SEQUENCE: if(prev_seq == EIGHT_SHORT_SEQUENCE)cpe->ch[ch].ics.window_sequence[0] = LONG_STOP_SEQUENCE;  break;
-        case LONG_STOP_SEQUENCE:   cpe->ch[ch].ics.window_sequence[0] = ONLY_LONG_SEQUENCE;   break;
+        case ONLY_LONG_SEQUENCE:
+            if(prev_seq == ONLY_LONG_SEQUENCE)
+                cpe->ch[ch].ics.window_sequence[0] = LONG_START_SEQUENCE;
+            break;
+        case LONG_START_SEQUENCE:
+            cpe->ch[ch].ics.window_sequence[0] = EIGHT_SHORT_SEQUENCE;
+            break;
+        case EIGHT_SHORT_SEQUENCE:
+            if(prev_seq == EIGHT_SHORT_SEQUENCE)
+                cpe->ch[ch].ics.window_sequence[0] = LONG_STOP_SEQUENCE;
+            break;
+        case LONG_STOP_SEQUENCE:
+            cpe->ch[ch].ics.window_sequence[0] = ONLY_LONG_SEQUENCE;
+            break;
         }
 
         if(cpe->ch[ch].ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE){



More information about the FFmpeg-soc mailing list