From 40c8602f64d57cade781473af26239a0ff33c2d2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 13 Mar 2006 23:29:00 +0000 Subject: fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...) Originally committed as revision 5162 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/wmadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c index 95dbf339ad..d796c805c0 100644 --- a/libavcodec/wmadec.c +++ b/libavcodec/wmadec.c @@ -222,7 +222,7 @@ static int wma_decode_init(AVCodecContext * avctx) float *window; uint8_t *extradata; float bps, bps1; - volatile float high_freq_factor; + volatile float high_freq_factor= 0; //initial value should not matter as the tables build from this are unused if !use_noise_coding int sample_rate1; int coef_vlc_table; -- cgit v1.2.3