Module: libav Branch: master Commit: d5d2d6c3b8cff61eb26c18bbd977881cf6d5524a
Author: Vittorio Giovara <[email protected]> Committer: Vittorio Giovara <[email protected]> Date: Wed Nov 12 11:13:03 2014 +0100 dcadec: initialize variables before use CC: [email protected] Bug-Id: CID 700751 / CID 700752 --- libavcodec/dcadec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 619713e..8ca8c34 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) _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
