[FFmpeg-cvslog] r17182 - trunk/libavcodec/aac.c

superdump subversion
Thu Feb 12 14:50:00 CET 2009


Author: superdump
Date: Thu Feb 12 14:49:59 2009
New Revision: 17182

Log:
AAC: Cosmetic alterations after the last commit

Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	Thu Feb 12 14:47:21 2009	(r17181)
+++ trunk/libavcodec/aac.c	Thu Feb 12 14:49:59 2009	(r17182)
@@ -1574,12 +1574,9 @@ static int aac_decode_frame(AVCodecConte
             ac->che[TYPE_SCE][elem_id] = ac->che[TYPE_LFE][0];
             ac->che[TYPE_LFE][0] = NULL;
         }
-        if(elem_type < TYPE_DSE) {
-            if(!ac->che[elem_type][elem_id])
-            {
-                av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id);
-                return -1;
-            }
+        if(elem_type < TYPE_DSE && !ac->che[elem_type][elem_id]) {
+            av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id);
+            return -1;
         }
 
         switch (elem_type) {




More information about the ffmpeg-cvslog mailing list