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
pull/126/head
Patrik Kullman 16 years ago committed by Justin Ruggles
parent eabe8c7033
commit 3cfe88194a
  1. 2
      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<use_lpc-1; pass++){
av_init_lls(&m[pass&1], max_order);

Loading…
Cancel
Save