On Thu, Sep 8, 2016 at 2:13 PM, Diego Biurrun <[email protected]> wrote:
> ptrdiff_t is the correct type for array strides and similar.
> ---
>
> Added a few more change instances.
>
>  libavcodec/svq3.c | 19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)
>
> diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
> index aa85e7c..ea9642e 100644
> --- a/libavcodec/svq3.c
> +++ b/libavcodec/svq3.c
> @@ -118,8 +118,9 @@ typedef struct SVQ3Context {
>      int mb_x, mb_y;
>      int mb_xy;
>      int mb_width, mb_height;
> -    int mb_stride, mb_num;
> -    int b_stride;
> +    ptrdiff_t mb_stride;
> +    int mb_num;
> +    ptrdiff_t b_stride;

maybe you could coalesce this in

+    int mb_num;
+    ptrdiff_t mb_stride, b_stride;

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

Reply via email to