Quoting Vittorio Giovara (2015-10-02 12:43:45)
> Bug-id: CID 609303
> ---
>  libavcodec/eac3dec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c
> index b9d079c..2302da7 100644
> --- a/libavcodec/eac3dec.c
> +++ b/libavcodec/eac3dec.c
> @@ -200,7 +200,7 @@ void 
> ff_eac3_decode_transform_coeffs_aht_ch(AC3DecodeContext *s, int ch)
>      int bin, blk, gs;
>      int end_bap, gaq_mode;
>      GetBitContext *gbc = &s->gbc;
> -    int gaq_gain[AC3_MAX_COEFS];
> +    int gaq_gain[AC3_MAX_COEFS] = { 0 };

Looks suspicious to me. Can an uninitialized read actually happen? A
quick look at the code suggests it cannot.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to