Commit 2460865a authored by superdump's avatar superdump

Remove unnecessary portion of a condition. This fixes issue607 and avoids

another unintended bug where channel coupling could have been run on an SCE.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15036 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d61ffac7
...@@ -1348,7 +1348,7 @@ static int aac_decode_frame(AVCodecContext * avccontext, void * data, int * data ...@@ -1348,7 +1348,7 @@ static int aac_decode_frame(AVCodecContext * avccontext, void * data, int * data
ac->che[TYPE_SCE][elem_id] = ac->che[TYPE_LFE][0]; ac->che[TYPE_SCE][elem_id] = ac->che[TYPE_LFE][0];
ac->che[TYPE_LFE][0] = NULL; 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]) if(!ac->che[elem_type][elem_id])
return -1; return -1;
if(elem_type != TYPE_CCE) if(elem_type != TYPE_CCE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment