[FFmpeg-cvslog] r17386 - trunk/libavcodec/flacdec.c

jbr subversion
Mon Feb 16 23:23:47 CET 2009


Author: jbr
Date: Mon Feb 16 23:23:47 2009
New Revision: 17386

Log:
flacdec: Silence false positive warning about uninitialized variables in 
decode_subframe_fixed(). Patch by Patrik Kullman (patrik A yes D nu).

Modified:
   trunk/libavcodec/flacdec.c

Modified: trunk/libavcodec/flacdec.c
==============================================================================
--- trunk/libavcodec/flacdec.c	Mon Feb 16 19:52:14 2009	(r17385)
+++ trunk/libavcodec/flacdec.c	Mon Feb 16 23:23:47 2009	(r17386)
@@ -276,7 +276,7 @@ static int decode_subframe_fixed(FLACCon
 {
     const int blocksize = s->blocksize;
     int32_t *decoded = s->decoded[channel];
-    int a, b, c, d, i;
+    int av_uninit(a), av_uninit(b), av_uninit(c), av_uninit(d), i;
 
     /* warm up samples */
     for (i = 0; i < pred_order; i++) {




More information about the ffmpeg-cvslog mailing list