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

superdump subversion at mplayerhq.hu
Fri Aug 8 00:28:58 CEST 2008


Author: superdump
Date: Fri Aug  8 00:28:58 2008
New Revision: 3071

Log:
Add comment about initialisation of variables to silence GCC warnings


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Fri Aug  8 00:28:58 2008
@@ -1028,6 +1028,9 @@ static int decode_ics(AACContext * ac, S
     float * out = sce->coeffs;
     int global_gain, pulse_present = 0;
 
+    /* These two assignments are to silence some GCC warnings about the
+     * variables being used uninitialised when in fact they always are.
+     */
     pulse.num_pulse = 0;
     pulse.start     = 0;
 



More information about the FFmpeg-soc mailing list