From 53918a1c54b49e76c3ca517e2caada8372995712 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 7 Jan 2012 23:59:14 +0100 Subject: [PATCH] dca: Fix uninitialized variable warnings. Signed-off-by: Michael Niedermayer --- libavcodec/dca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dca.c b/libavcodec/dca.c index 8622587efe..cf61a16bb9 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -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)