changeset 8826:bffe8e6cb10e libavcodec

lpc: Remove false positive compilation warning about weight being uninitialized. Patch by Patrik Kullman (patrik A yes D nu).
author jbr
date Fri, 13 Feb 2009 22:05:55 +0000
parents 51274aff81fe
children 03ea23e85f42
files lpc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lpc.c	Fri Feb 13 22:03:11 2009 +0000
+++ b/lpc.c	Fri Feb 13 22:05:55 2009 +0000
@@ -123,7 +123,7 @@
             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<use_lpc-1; pass++){
             av_init_lls(&m[pass&1], max_order);