1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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

View File

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