summaryrefslogtreecommitdiff
path: root/libavcodec/wmadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-03-13 23:29:00 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-03-13 23:29:00 +0000
commit40c8602f64d57cade781473af26239a0ff33c2d2 (patch)
treeb3fa9740ffb6ddb24637df6a4bbb03ae6bbfebe5 /libavcodec/wmadec.c
parent60023e3234525b7a0cc5b8225133d8282e358289 (diff)
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
Diffstat (limited to 'libavcodec/wmadec.c')
-rw-r--r--libavcodec/wmadec.c2
1 files changed, 1 insertions, 1 deletions
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;