mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
AAC: Ignore cc_domain for independent (time domain) coupling.
Originally committed as revision 18169 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
620bba1653
commit
04964ee8bb
@ -1199,14 +1199,7 @@ static int decode_cce(AACContext * ac, GetBitContext * gb, ChannelElement * che)
|
||||
} 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));
|
||||
|
Loading…
Reference in New Issue
Block a user