aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lpc.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2013-06-18 21:30:40 +0000
committerLuca Barbato <lu_zero@gentoo.org>2013-06-29 13:23:57 +0200
commitcc6714bb16b1f0716ba43701d47273dbe9657b8b (patch)
tree9a340d61030b417a1d254852a083323c410c5d37 /libavcodec/lpc.c
parent38229362529ed1619d8ebcc81ecde85b23b45895 (diff)
downloadffmpeg-cc6714bb16b1f0716ba43701d47273dbe9657b8b.tar.gz
lpc: remove "decay" argument
We never used the rolling-average mode, and this makes av_update_lls 15% faster. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/lpc.c')
-rw-r--r--libavcodec/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c
index bada368580..c098b0f0f6 100644
--- a/libavcodec/lpc.c
+++ b/libavcodec/lpc.c
@@ -222,7 +222,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
}else
weight++;
- avpriv_update_lls(&m[pass&1], var, 1.0);
+ avpriv_update_lls(&m[pass&1], var);
}
avpriv_solve_lls(&m[pass&1], 0.001, 0);
}