aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-07 23:59:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-08 00:18:36 +0100
commit53918a1c54b49e76c3ca517e2caada8372995712 (patch)
tree852933fb4dda008737401ceac3b0f297a96571ed /libavcodec/dca.c
parentfc5a905a6d0c76d9fb8d838ac83f6219a7a5e20f (diff)
downloadffmpeg-53918a1c54b49e76c3ca517e2caada8372995712.tar.gz
dca: Fix uninitialized variable warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r--libavcodec/dca.c4
1 files 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)