[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec wmadec.c,1.32,1.33

Michael Niedermayer CVS michael
Tue Mar 14 00:29:03 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv3626

Modified Files:
	wmadec.c 
Log Message:
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 ...)


Index: wmadec.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/wmadec.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- wmadec.c	8 Mar 2006 09:26:57 -0000	1.32
+++ wmadec.c	13 Mar 2006 23:29:00 -0000	1.33
@@ -222,7 +222,7 @@
     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;
 





More information about the ffmpeg-cvslog mailing list