[FFmpeg-cvslog] r25001 - trunk/libavcodec/aacenc.c

alexc subversion
Tue Aug 31 02:31:17 CEST 2010


Author: alexc
Date: Tue Aug 31 02:31:17 2010
New Revision: 25001

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

In general s->cur_channel should be phased out.

Modified:
   trunk/libavcodec/aacenc.c

Modified: trunk/libavcodec/aacenc.c
==============================================================================
--- trunk/libavcodec/aacenc.c	Tue Aug 31 01:52:03 2010	(r25000)
+++ trunk/libavcodec/aacenc.c	Tue Aug 31 02:31:17 2010	(r25001)
@@ -544,7 +544,6 @@ static int aac_encode_frame(AVCodecConte
             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;



More information about the ffmpeg-cvslog mailing list