[FFmpeg-soc] [soc]: r5615 - amr/amrnbdec.c
cmcq
subversion at mplayerhq.hu
Mon Feb 1 20:58:04 CET 2010
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
More information about the FFmpeg-soc
mailing list