On Tue, Sep 6, 2016 at 12:11 PM, Diego Biurrun <[email protected]> wrote:
> ptrdiff_t is the correct type for array strides and similar.
> ---
>  libavcodec/qdrw.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c
> index b7493e4..3605a5a 100644
> --- a/libavcodec/qdrw.c
> +++ b/libavcodec/qdrw.c
> @@ -67,7 +67,7 @@ static int parse_palette(AVCodecContext *avctx, 
> GetByteContext *gbc,
>  }
>
>  static int decode_rle(AVCodecContext *avctx, AVFrame *p, GetByteContext *gbc,
> -                      int step)
> +                      ptrdiff_t step)
>  {
>      int i, j;
>      int offset = avctx->width * step;
> --

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

Reply via email to