comparison aac.c @ 8502:e6909fa99317 libavcodec

Revert r16375: It broke aac decoding.
author cehoyos
date Sun, 28 Dec 2008 20:08:39 +0000
parents 1c02d905f93e
children 2cbfa4cd4670
comparison
equal deleted inserted replaced
8501:1c02d905f93e 8502:e6909fa99317
1480 1480
1481 /** 1481 /**
1482 * Convert spectral data to float samples, applying all supported tools as appropriate. 1482 * Convert spectral data to float samples, applying all supported tools as appropriate.
1483 */ 1483 */
1484 static void spectral_to_sample(AACContext * ac) { 1484 static void spectral_to_sample(AACContext * ac) {
1485 int i; 1485 int i, type;
1486 enum RawDataBlockType type;
1487 for(type = 3; type >= 0; type--) { 1486 for(type = 3; type >= 0; type--) {
1488 for (i = 0; i < MAX_ELEM_ID; i++) { 1487 for (i = 0; i < MAX_ELEM_ID; i++) {
1489 ChannelElement *che = ac->che[type][i]; 1488 ChannelElement *che = ac->che[type][i];
1490 if(che) { 1489 if(che) {
1491 if(type <= TYPE_CPE) 1490 if(type <= TYPE_CPE)