Browse Source

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

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

Originally committed as revision 15036 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Robert Swain 17 years ago
parent
commit
f4fae46e67
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/aac.c

+ 1
- 1
libavcodec/aac.c View File

@@ -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_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)


Loading…
Cancel
Save