From 3cfe88194a6ea8c720dfc85239d03c659473bcc3 Mon Sep 17 00:00:00 2001 From: Patrik Kullman Date: Fri, 13 Feb 2009 22:05:55 +0000 Subject: lpc: Remove false positive compilation warning about weight being uninitialized. Patch by Patrik Kullman (patrik A yes D nu). Originally committed as revision 17218 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/lpc.c') diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c index 92c701beab..896db51759 100644 --- a/libavcodec/lpc.c +++ b/libavcodec/lpc.c @@ -123,7 +123,7 @@ int ff_lpc_calc_coefs(DSPContext *s, ref[i] = fabs(lpc[i][i]); }else{ LLSModel m[2]; - double var[MAX_LPC_ORDER+1], weight; + double var[MAX_LPC_ORDER+1], av_uninit(weight); for(pass=0; pass