diff options
author | Robert Swain <robert.swain@gmail.com> | 2009-02-12 13:49:59 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2009-02-12 13:49:59 +0000 |
commit | 5f401ee03c78f82850de3ffb457a01427fa3cb55 (patch) | |
tree | edad15e3b9e2326b7d74924ad0f0a5fd0c6b4102 /libavcodec/aac.c | |
parent | b2d9d4a5310280e1e9ca3ae572d9fcc028c05081 (diff) | |
download | ffmpeg-streaming-5f401ee03c78f82850de3ffb457a01427fa3cb55.zip ffmpeg-streaming-5f401ee03c78f82850de3ffb457a01427fa3cb55.tar.gz |
AAC: Cosmetic alterations after the last commit
Originally committed as revision 17182 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.c')
-rw-r--r-- | libavcodec/aac.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c index f803d79..904c951 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -1574,12 +1574,9 @@ 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 < TYPE_DSE) { - if(!ac->che[elem_type][elem_id]) - { - av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id); - return -1; - } + if(elem_type < TYPE_DSE && !ac->che[elem_type][elem_id]) { + av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id); + return -1; } switch (elem_type) { |