[FFmpeg-soc] [soc]: r768 - jpeg2000/aecdec.c

Aurelien Jacobs aurel at gnuage.org
Tue Aug 14 13:16:39 CEST 2007


On Tue, 14 Aug 2007 12:58:32 +0200 (CEST)
k.nowosad <subversion at mplayerhq.hu> wrote:

> Author: k.nowosad
> Date: Tue Aug 14 12:58:32 2007
> New Revision: 768
> 
> Log:
> added context initialization to arithmetic entropy decoder
> 
> 
> Modified:
>    jpeg2000/aecdec.c
> 
> Modified: jpeg2000/aecdec.c
> ==============================================================================
> --- jpeg2000/aecdec.c	(original)
> +++ jpeg2000/aecdec.c	Tue Aug 14 12:58:32 2007
> @@ -75,6 +75,12 @@ static int exchange(AecState *aec, int l
>  
>  void ff_aec_initdec(AecState *aec, uint8_t *bp)
>  {
> +    bzero(aec->contexts, 19*sizeof(AecContext));

Please don't use bzero() (it's deprecated). Use memset() instead.

Aurel



More information about the FFmpeg-soc mailing list