On Thu, Sep 8, 2016 at 2:34 PM, Diego Biurrun <di...@biurrun.de> wrote:
> diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c
> index e02f349..d68f708 100644
> --- a/libavcodec/dvenc.c
> +++ b/libavcodec/dvenc.c
> @@ -234,8 +234,8 @@ static const int dv_weight_248[64] = {
>  };
>
>  static av_always_inline int dv_init_enc_block(EncBlockInfo *bi, uint8_t 
> *data,
> -                                              int linesize, DVVideoContext 
> *s,
> -                                              int bias)
> +                                              ptrdiff_t linesize,
> +                                              DVVideoContext *s, int bias)
>  {
>      const int *weight;
>      const uint8_t *zigzag_scan;
> @@ -413,7 +413,8 @@ static int dv_encode_video_segment(AVCodecContext *avctx, 
> void *arg)
>      DVVideoContext *s = avctx->priv_data;
>      DVwork_chunk *work_chunk = arg;
>      int mb_index, i, j;
> -    int mb_x, mb_y, c_offset, linesize, y_stride;
> +    int mb_x, mb_y, c_offset;
> +    ptrdiff_t linesize, y_stride;
>      uint8_t *y_ptr;
>      uint8_t *dif;
>      LOCAL_ALIGNED_8(uint8_t, scratch, [128]);

should these two linesize vars be renamed to stride too?
-- 
Vittorio
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to