[FFmpeg-soc] [soc]: r3002 - aac/aac.c

superdump subversion at mplayerhq.hu
Mon Aug 4 12:05:25 CEST 2008


Author: superdump
Date: Mon Aug  4 12:05:25 2008
New Revision: 3002

Log:
Initialise num_pulse and start members of Pulse struct to silence GCC warnings


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Mon Aug  4 12:05:25 2008
@@ -1016,6 +1016,9 @@ static int decode_ics(AACContext * ac, G
     float * out = sce->coeffs;
     int global_gain, pulse_present = 0;
 
+    pulse.num_pulse = 0;
+    pulse.start     = 0;
+
     global_gain = get_bits(gb, 8);
 
     if (!common_window && !scale_flag) {



More information about the FFmpeg-soc mailing list