changeset 12445:7919771169c5 libavcodec

aacenc: Remove an unused variable from adjust_frame_information().
author alexc
date Tue, 31 Aug 2010 00:33:56 +0000
parents 2350457a3777
children 10b5a51810f9
files aacenc.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/aacenc.c	Tue Aug 31 00:31:17 2010 +0000
+++ b/aacenc.c	Tue Aug 31 00:33:56 2010 +0000
@@ -302,7 +302,7 @@
 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 @@
         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++) {