summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-12 11:13:03 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-13 01:41:26 +0100
commitd5d2d6c3b8cff61eb26c18bbd977881cf6d5524a (patch)
treed005470420f4b2e205af995838bc0f29df3ccbbd /libavcodec/dcadec.c
parent1a9c1333b5d70b427c82cb98f383aa2fa9b2b319 (diff)
downloadffmpeg-d5d2d6c3b8cff61eb26c18bbd977881cf6d5524a.tar.gz
dcadec: initialize variables before use
CC: libav-stable@libav.org Bug-Id: CID 700751 / CID 700752
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r--libavcodec/dcadec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 619713eae2..8ca8c34510 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1462,11 +1462,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 extensions_mask = 0;
int i, j;
if (get_bits_left(&s->gb) < 16)