# HG changeset patch # User superdump # Date 1234446599 0 # Node ID ac7958d25361b1f8a83d026d1d8e8f946fb5bbb5 # Parent 13db7a524778940a3003b375ba4141140e402cd3 AAC: Cosmetic alterations after the last commit diff -r 13db7a524778 -r ac7958d25361 aac.c --- 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) {