Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-15 04:00:46 +0300
committerMichael Niedermayer <michaelni@gmx.at>2014-11-15 04:05:25 +0300
commitd4065a9f475589823608218e3b25a0df941495a6 (patch)
tree1081d1ca666747cc3d50335bc2bd614b57f1244e /libavcodec/lpc.c
parenta5adeff45745ec973bb42217a61752dc80d256c4 (diff)
parent60e0ee7ca25bd3bea54043b0607efe4cd51acaf3 (diff)
Merge commit '60e0ee7ca25bd3bea54043b0607efe4cd51acaf3'
* commit '60e0ee7ca25bd3bea54043b0607efe4cd51acaf3': lpc: always initialize ref and err The initialization is not needed, its merged anyway as it might help suppressing warnings and might make the code more robust against future changes See: c4a36b6f70f37e668874d134f955eb96e23853c9 See: 0dd99628ea15f1fe7121b8a983c0b1fe57660027 Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 1d52edf744..f54f6f883d 100644
--- a/libavcodec/lpc.c
+++ b/libavcodec/lpc.c
@@ -175,7 +175,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
int omethod, int max_shift, int zero_shift)
{
double autoc[MAX_LPC_ORDER+1];
- double ref[MAX_LPC_ORDER];
+ double ref[MAX_LPC_ORDER] = { 0 };
double lpc[MAX_LPC_ORDER][MAX_LPC_ORDER];
int i, j, pass = 0;
int opt_order;