dca: Fix uninitialized variable warnings.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Jan 2012 22:59:14 +0000 (23:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Jan 2012 23:18:36 +0000 (00:18 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dca.c

index 8622587..cf61a16 100644 (file)
@@ -1439,11 +1439,11 @@ static int dca_exss_parse_asset_header(DCAContext *s)
 {
     int header_pos = get_bits_count(&s->gb);
     int header_size;
-    int channels;
+    int channels = 0;
     int embedded_stereo = 0;
     int embedded_6ch    = 0;
     int drc_code_present;
-    int extensions_mask;
+    int av_uninit(extensions_mask);
     int i, j;
 
     if (get_bits_left(&s->gb) < 16)