ac3enc_template: silence may be used uninitialized in this function warnings
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Feb 2013 01:32:44 +0000 (02:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Feb 2013 01:49:14 +0000 (02:49 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ac3enc_template.c

index 18a849d..fb6aad9 100644 (file)
@@ -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;