summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-08-31 00:31:17 +0000
committerAlex Converse <alex.converse@gmail.com>2010-08-31 00:31:17 +0000
commit1297f58132313155994d0e6351aba65e43dc06aa (patch)
treef8d0197f6b160f0a03d3e415a166c39b41725597
parent8e4c11e90a58427257dc859c11210ad6588288da (diff)
downloadffmpeg-streaming-1297f58132313155994d0e6351aba65e43dc06aa.zip
ffmpeg-streaming-1297f58132313155994d0e6351aba65e43dc06aa.tar.gz
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
-rw-r--r--libavcodec/aacenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 0c911b8..c0e3c35 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;
OpenPOWER on IntegriCloud