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

alexc subversion
Tue Aug 31 02:33:56 CEST 2010


Author: alexc
Date: Tue Aug 31 02:33:56 2010
New Revision: 25002

Log:
aacenc: Remove an unused variable from adjust_frame_information().

Modified:
   trunk/libavcodec/aacenc.c

Modified: trunk/libavcodec/aacenc.c
==============================================================================
--- trunk/libavcodec/aacenc.c	Tue Aug 31 02:31:17 2010	(r25001)
+++ trunk/libavcodec/aacenc.c	Tue Aug 31 02:33:56 2010	(r25002)
@@ -302,7 +302,7 @@ static void encode_ms_info(PutBitContext
 static void adjust_frame_information(AACEncContext *apc, ChannelElement *cpe, int chans)
 {
     int i, w, w2, g, ch;
-    int start, sum, maxsfb, cmaxsfb;
+    int start, maxsfb, cmaxsfb;
 
     for (ch = 0; ch < chans; ch++) {
         IndividualChannelStream *ics = &cpe->ch[ch].ics;
@@ -311,7 +311,6 @@ static void adjust_frame_information(AAC
         cpe->ch[ch].pulse.num_pulse = 0;
         for (w = 0; w < ics->num_windows*16; w += 16) {
             for (g = 0; g < ics->num_swb; g++) {
-                sum = 0;
                 //apply M/S
                 if (cpe->common_window && !ch && cpe->ms_mask[w + g]) {
                     for (i = 0; i < ics->swb_sizes[g]; i++) {



More information about the ffmpeg-cvslog mailing list