On 12/11/14 11:13, Vittorio Giovara wrote:
> CC: libav-sta...@libav.org
> 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)
>
Shouldn't hurt.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel