Mercurial > libavcodec.hg
comparison aac.c @ 10688:750102456f00 libavcodec
Undo r20874: It broke AAC decoding.
author | cehoyos |
---|---|
date | Wed, 16 Dec 2009 11:39:14 +0000 |
parents | d55c821b147a |
children | dc84199b3306 |
comparison
equal
deleted
inserted
replaced
10687:d55c821b147a | 10688:750102456f00 |
---|---|
1643 /** | 1643 /** |
1644 * Convert spectral data to float samples, applying all supported tools as appropriate. | 1644 * Convert spectral data to float samples, applying all supported tools as appropriate. |
1645 */ | 1645 */ |
1646 static void spectral_to_sample(AACContext *ac) | 1646 static void spectral_to_sample(AACContext *ac) |
1647 { | 1647 { |
1648 enum RawDataBlockType type; | 1648 int i, type; |
1649 for (type = TYPE_LFE; type >= TYPE_SCE; type--) { | 1649 for (type = 3; type >= 0; type--) { |
1650 int i; | |
1651 for (i = 0; i < MAX_ELEM_ID; i++) { | 1650 for (i = 0; i < MAX_ELEM_ID; i++) { |
1652 ChannelElement *che = ac->che[type][i]; | 1651 ChannelElement *che = ac->che[type][i]; |
1653 if (che) { | 1652 if (che) { |
1654 if (type <= TYPE_CPE) | 1653 if (type <= TYPE_CPE) |
1655 apply_channel_coupling(ac, che, type, i, BEFORE_TNS, apply_dependent_coupling); | 1654 apply_channel_coupling(ac, che, type, i, BEFORE_TNS, apply_dependent_coupling); |