[FFmpeg-cvslog] r15036 - trunk/libavcodec/aac.c
superdump
subversion
Fri Aug 29 22:18:34 CEST 2008
Author: superdump
Date: Fri Aug 29 22:18:34 2008
New Revision: 15036
Log:
Remove unnecessary portion of a condition. This fixes issue607 and avoids
another unintended bug where channel coupling could have been run on an SCE.
Modified:
trunk/libavcodec/aac.c
Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c (original)
+++ trunk/libavcodec/aac.c Fri Aug 29 22:18:34 2008
@@ -1348,7 +1348,7 @@ 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 && elem_type < TYPE_DSE) {
+ if(elem_type < TYPE_DSE) {
if(!ac->che[elem_type][elem_id])
return -1;
if(elem_type != TYPE_CCE)
More information about the ffmpeg-cvslog
mailing list