aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-26 02:32:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-26 02:49:14 +0100
commitf6fff8e54697ff4418283eb8aa9afd0d9e7e4736 (patch)
tree9cc8e8a991eeb109d3d8b07c4a075f6d16934335 /libavcodec
parent5bcb379ffe54be05a66efe325fd81b2a7db839f5 (diff)
downloadffmpeg-f6fff8e54697ff4418283eb8aa9afd0d9e7e4736.tar.gz
ac3enc_template: silence may be used uninitialized in this function warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ac3enc_template.c2
1 files changed, 1 insertions, 1 deletions
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;