changeset 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 4604ce2ea3ad
children 50a75afca76f
files aac.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)