From 60e0ee7ca25bd3bea54043b0607efe4cd51acaf3 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 12 Nov 2014 19:10:47 +0100 Subject: lpc: always initialize ref and err CC: libav-stable@libav.org Bug-Id: CID 29585 / CID 700759 --- libavcodec/lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/lpc.c') 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; -- cgit v1.2.3