Commit d5d2d6c3 authored by Vittorio Giovara's avatar Vittorio Giovara

dcadec: initialize variables before use

CC: libav-stable@libav.org
Bug-Id: CID 700751 / CID 700752
parent 1a9c1333
...@@ -1462,11 +1462,11 @@ static int dca_exss_parse_asset_header(DCAContext *s) ...@@ -1462,11 +1462,11 @@ static int dca_exss_parse_asset_header(DCAContext *s)
{ {
int header_pos = get_bits_count(&s->gb); int header_pos = get_bits_count(&s->gb);
int header_size; int header_size;
int channels; int channels = 0;
int embedded_stereo = 0; int embedded_stereo = 0;
int embedded_6ch = 0; int embedded_6ch = 0;
int drc_code_present; int drc_code_present;
int extensions_mask; int extensions_mask = 0;
int i, j; int i, j;
if (get_bits_left(&s->gb) < 16) if (get_bits_left(&s->gb) < 16)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment