summaryrefslogtreecommitdiff
path: root/libavcodec/lpc.c
diff options
context:
space:
mode:
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 fbd1bdf002..1482e57615 100644
--- a/libavcodec/lpc.c
+++ b/libavcodec/lpc.c
@@ -174,7 +174,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;