# HG changeset patch # User alexc # Date 1237785206 0 # Node ID 3fc2f6c6b6849eea570892aebd6c56a78b4a9d09 # Parent ce6204c184c1fbaa11c39c251550379e0edd4d3d AAC: Ignore cc_domain for independent (time domain) coupling. diff -r ce6204c184c1 -r 3fc2f6c6b684 aac.c --- a/aac.c Sun Mar 22 23:42:06 2009 +0000 +++ b/aac.c Mon Mar 23 05:13:26 2009 +0000 @@ -1199,14 +1199,7 @@ } else coup->ch_select[c] = 2; } - coup->coupling_point += get_bits1(gb); - - if (coup->coupling_point == 2) { - av_log(ac->avccontext, AV_LOG_ERROR, - "Independently switched CCE with 'invalid' domain signalled.\n"); - memset(coup, 0, sizeof(ChannelCoupling)); - return -1; - } + coup->coupling_point += get_bits1(gb) || (coup->coupling_point>>1); sign = get_bits(gb, 1); scale = pow(2., pow(2., (int)get_bits(gb, 2) - 3));