Commit beb6a768 authored by jbr's avatar jbr

lpc: Remove false positive compilation warning about weight being

uninitialized. Patch by Patrik Kullman (patrik A yes D nu).


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17218 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c0c283f3
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment