Author: cmcq
Date: Mon Feb  1 20:58:04 2010
New Revision: 5615

Log:
Initialize the AMRFixed struct with zeros in case extra fields are added

Modified:
   amr/amrnbdec.c

Modified: amr/amrnbdec.c
==============================================================================
--- amr/amrnbdec.c      Sat Jan 30 05:22:15 2010        (r5614)
+++ amr/amrnbdec.c      Mon Feb  1 20:58:04 2010        (r5615)
@@ -963,7 +963,7 @@ static int amrnb_decode_frame(AVCodecCon
     float *buf_out = data;                   // pointer to the output data 
buffer
     int i, subframe;
     float fixed_gain_factor;
-    AMRFixed fixed_sparse;                   // fixed vector up to 
anti-sparseness processing
+    AMRFixed fixed_sparse = { 0 };           // fixed vector up to 
anti-sparseness processing
     float spare_vector[AMR_SUBFRAME_SIZE];   // extra stack space to hold 
result from anti-sparseness processing
     float synth_fixed_gain;                  // the fixed gain that synthesis 
should use
     const float *synth_fixed_vector;         // pointer to the fixed vector 
that synthesis should use
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to