changeset 8952:49817775b44f libavcodec

flacdec: Silence false positive warning about uninitialized variables in decode_subframe_fixed(). Patch by Patrik Kullman (patrik A yes D nu).
author jbr
date Mon, 16 Feb 2009 22:23:47 +0000
parents 533777a86f12
children 5e70bdb97d0c
files flacdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flacdec.c	Mon Feb 16 18:19:48 2009 +0000
+++ b/flacdec.c	Mon Feb 16 22:23:47 2009 +0000
@@ -276,7 +276,7 @@
 {
     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++) {