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/dxv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
> index 99327df..fce7f62 100644
> --- a/libavcodec/dxv.c
> +++ b/libavcodec/dxv.c
> @@ -36,7 +36,7 @@ typedef struct DXVContext {
>
>      uint8_t *tex_data;  // Compressed texture
>      int tex_rat;        // Compression ratio
> -    int tex_step;       // Distance between blocks
> +    ptrdiff_t tex_step; // Distance between blocks
>      int64_t tex_size;   // Texture size
>
>      /* Optimal number of slices for parallel decoding */
> --

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

Reply via email to