[FFmpeg-soc] [soc]: r3343 - aacenc/aacenc.c

kostya subversion at mplayerhq.hu
Sat Aug 16 09:15:02 CEST 2008


Author: kostya
Date: Sat Aug 16 09:15:02 2008
New Revision: 3343

Log:
Merge declaration and initialisation

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sat Aug 16 09:15:02 2008
@@ -717,10 +717,9 @@ static int encode_individual_channel(AVC
 {
     AACEncContext *s = avctx->priv_data;
     int g, w, wg;
-    int global_gain;
+    int global_gain = 0;
 
     //determine global gain as standard recommends - the first scalefactor value
-    global_gain = 0;
     w = 0;
     for(wg = 0; wg < cpe->ch[channel].ics.num_window_groups; wg++){
         for(g = 0; g < cpe->ch[channel].ics.max_sfb; g++){



More information about the FFmpeg-soc mailing list