Undo r20874: It broke AAC decoding.

Originally committed as revision 20879 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos 2009-12-16 11:39:14 +00:00
parent 18a49f118c
commit b0bc928b86
1 changed files with 2 additions and 3 deletions

View File

@ -1645,9 +1645,8 @@ static void apply_channel_coupling(AACContext *ac, ChannelElement *cc,
*/
static void spectral_to_sample(AACContext *ac)
{
enum RawDataBlockType type;
for (type = TYPE_LFE; type >= TYPE_SCE; type--) {
int i;
int i, type;
for (type = 3; type >= 0; type--) {
for (i = 0; i < MAX_ELEM_ID; i++) {
ChannelElement *che = ac->che[type][i];
if (che) {