From 7846418bdb346c344fe9ff9801a820f0cd470212 Mon Sep 17 00:00:00 2001 From: Patrik Kullman Date: Mon, 16 Feb 2009 22:23:47 +0000 Subject: [PATCH] flacdec: Silence false positive warning about uninitialized variables in decode_subframe_fixed(). Patch by Patrik Kullman (patrik A yes D nu). Originally committed as revision 17386 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flacdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index d8ba07bc1d..d6e0c8620f 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -276,7 +276,7 @@ static int decode_subframe_fixed(FLACContext *s, int channel, int pred_order) { 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++) {