On Tue, Sep 20, 2016 at 09:22:06PM +0100, Mark Thompson wrote:
> On 20/09/16 19:36, Diego Biurrun wrote:
> > ptrdiff_t is the correct type for array strides and similar.
> > --- 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.

Why?

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

Reply via email to