dca: Fix uninitialized variable warnings.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/3/head
Michael Niedermayer 13 years ago
parent fc5a905a6d
commit 53918a1c54
  1. 4
      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_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 av_uninit(extensions_mask);
int i, j; int i, j;
if (get_bits_left(&s->gb) < 16) if (get_bits_left(&s->gb) < 16)

Loading…
Cancel
Save