From 1297f58132313155994d0e6351aba65e43dc06aa Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Tue, 31 Aug 2010 00:31:17 +0000 Subject: 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 --- libavcodec/aacenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec') diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 0c911b8f63..c0e3c3523e 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -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; -- cgit v1.2.3