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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/lpc.h') diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h index c41a1f8a03..6b3f80e2bc 100644 --- a/libavcodec/lpc.h +++ b/libavcodec/lpc.h @@ -152,7 +152,7 @@ static inline int compute_lpc_coefs(const LPC_TYPE *autoc, int max_order, int normalize) { int i, j; - LPC_TYPE err; + LPC_TYPE err = { 0 }; LPC_TYPE *lpc_last = lpc; if (normalize) -- cgit v1.2.3