diff aac.c @ 7732:5d93ceaa7a2c libavcodec

Remove unnecessary portion of a condition. This fixes issue607 and avoids another unintended bug where channel coupling could have been run on an SCE.
author superdump
date Fri, 29 Aug 2008 20:18:34 +0000
parents 66fb1f3937fa
children 50a75afca76f
line wrap: on
line diff
--- a/aac.c	Fri Aug 29 18:43:20 2008 +0000
+++ b/aac.c	Fri Aug 29 20:18:34 2008 +0000
@@ -1348,7 +1348,7 @@
             ac->che[TYPE_SCE][elem_id] = ac->che[TYPE_LFE][0];
             ac->che[TYPE_LFE][0] = NULL;
         }
-        if(elem_type && elem_type < TYPE_DSE) {
+        if(elem_type < TYPE_DSE) {
             if(!ac->che[elem_type][elem_id])
                 return -1;
             if(elem_type != TYPE_CCE)