Commit b0bc928b authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Undo r20874: It broke AAC decoding.

Originally committed as revision 20879 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 18a49f11
...@@ -1645,9 +1645,8 @@ static void apply_channel_coupling(AACContext *ac, ChannelElement *cc, ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment