Mercurial > libavcodec.hg
changeset 8814:ac7958d25361 libavcodec
AAC: Cosmetic alterations after the last commit
author | superdump |
---|---|
date | Thu, 12 Feb 2009 13:49:59 +0000 |
parents | 13db7a524778 |
children | dcada67a9bf0 |
files | aac.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/aac.c Thu Feb 12 13:47:21 2009 +0000 +++ b/aac.c Thu Feb 12 13:49:59 2009 +0000 @@ -1574,12 +1574,9 @@ 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) {