dcadec: initialize variables before use

CC: libav-stable@libav.org
Bug-Id: CID 700751 / CID 700752
This commit is contained in:
Vittorio Giovara 2014-11-12 11:13:03 +01:00
parent 1a9c1333b5
commit d5d2d6c3b8
1 changed files with 2 additions and 2 deletions

View File

@ -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)