[FFmpeg-soc] [soc]: r3161 - aac/aac.c

superdump subversion at mplayerhq.hu
Mon Aug 11 00:09:05 CEST 2008


Author: superdump
Date: Mon Aug 11 00:09:05 2008
New Revision: 3161

Log:
Whitespace changes


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Mon Aug 11 00:09:05 2008
@@ -1785,14 +1785,14 @@ static int aac_decode_frame(AVCodecConte
         elem_id = get_bits(&gb, 4);
         err = -1;
 
-            if(elem_type == TYPE_SCE && elem_id = 1 && !ac->che[TYPE_SCE][elem_id] && ac->che[TYPE_LFE][0]) {
-                    /* Some streams incorrectly code 5.1 audio as SCE[0] CPE[0] CPE[1] SCE[1]
-                       instead of SCE[0] CPE[0] CPE[0] LFE[0].
-                       If we seem to have encountered such a stream,
-                       transfer the LFE[0] element to SCE[1] */
-                    ac->che[TYPE_SCE][elem_id] = ac->che[TYPE_LFE][0];
-                    ac->che[TYPE_LFE][0] = NULL;
-            }
+        if(elem_type == TYPE_SCE && elem_id = 1 &&
+                !ac->che[TYPE_SCE][elem_id] && ac->che[TYPE_LFE][0]) {
+            /* Some streams incorrectly code 5.1 audio as SCE[0] CPE[0] CPE[1] SCE[1]
+               instead of SCE[0] CPE[0] CPE[0] LFE[0]. If we seem to have
+               encountered such a stream, transfer the LFE[0] element to SCE[1] */
+            ac->che[TYPE_SCE][elem_id] = ac->che[TYPE_LFE][0];
+            ac->che[TYPE_LFE][0] = NULL;
+        }
         if(elem_type && elem_type < TYPE_DSE && !ac->che[elem_type][elem_id])
             return -1;
 



More information about the FFmpeg-soc mailing list