1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-10 17:41:09 +02:00

aacenc: Don't set s->cur_channel before apply_window_and_mdct().

In general s->cur_channel should be phased out.

Originally committed as revision 25001 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Converse 2010-08-31 00:31:17 +00:00
parent 8e4c11e90a
commit 1297f58132

View File

@ -544,7 +544,6 @@ static int aac_encode_frame(AVCodecContext *avctx,
for (k = 0; k < ics->num_windows; k++)
ics->group_len[k] = wi[j].grouping[k];
s->cur_channel = cur_channel;
apply_window_and_mdct(avctx, s, &cpe->ch[j], samples2);
}
start_ch += chans;