projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabe8c7
)
lpc: Remove false positive compilation warning about weight being
author
Patrik Kullman
<patrik@yes.nu>
Fri, 13 Feb 2009 22:05:55 +0000
(22:05 +0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 13 Feb 2009 22:05:55 +0000
(22:05 +0000)
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
patch
|
blob
|
history
diff --git
a/libavcodec/lpc.c
b/libavcodec/lpc.c
index
92c701b
..
896db51
100644
(file)
--- 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<use_lpc-1; pass++){
av_init_lls(&m[pass&1], max_order);