On 25/06/14 16:51, Diego Biurrun wrote:
> ---
>  libavcodec/dv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/dv.c b/libavcodec/dv.c
> index 1a54c4e..0941d51 100644
> --- a/libavcodec/dv.c
> +++ b/libavcodec/dv.c
> @@ -311,7 +311,7 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx)
>      /* 248DCT setup */
>      s->fdct[1]     = dsp.fdct248;
>      s->idct_put[1] = ff_simple_idct248_put;  // FIXME: need to add it to DSP
> -    memcpy(s->dv_zigzag[1], ff_dv_zigzag248_direct, 64);
> +    memcpy(s->dv_zigzag[1], ff_dv_zigzag248_direct, sizeof(s->dv_zigzag[1]));
>  
>      s->avctx = avctx;
>      avctx->chroma_sample_location = AVCHROMA_LOC_TOPLEFT;
> 

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

Reply via email to