On 20/09/16 19:36, Diego Biurrun wrote:
> ptrdiff_t is the correct type for array strides and similar.
> ---
>  libavcodec/svq3.c | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
> index aa85e7c..bd83731 100644
> --- a/libavcodec/svq3.c
> +++ b/libavcodec/svq3.c
> @@ -118,8 +118,8 @@ typedef struct SVQ3Context {
>      int mb_x, mb_y;
>      int mb_xy;
>      int mb_width, mb_height;
> -    int mb_stride, mb_num;
> -    int b_stride;
> +    int mb_num;
> +    ptrdiff_t mb_stride, b_stride;

mb_stride should stay an int.

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to