From f6fff8e54697ff4418283eb8aa9afd0d9e7e4736 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 26 Feb 2013 02:32:44 +0100 Subject: ac3enc_template: silence may be used uninitialized in this function warnings Signed-off-by: Michael Niedermayer --- libavcodec/ac3enc_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/ac3enc_template.c') diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c index 18a849da8a..fb6aad95df 100644 --- a/libavcodec/ac3enc_template.c +++ b/libavcodec/ac3enc_template.c @@ -133,7 +133,7 @@ static void apply_channel_coupling(AC3EncodeContext *s) #else int32_t (*fixed_cpl_coords)[AC3_MAX_CHANNELS][16] = cpl_coords; #endif - int blk, ch, bnd, i, j; + int av_uninit(blk), ch, bnd, i, j; CoefSumType energy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][16] = {{{0}}}; int cpl_start, num_cpl_coefs; -- cgit v1.2.3