From a339e919cad1ab0125948f0dd9d49f6cb590db89 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 7 Sep 2016 17:08:15 +0200 Subject: ea: Change type of array stride parameters to ptrdiff_t ptrdiff_t is the correct type for array strides and similar. --- libavcodec/eatqi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/eatqi.c') diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c index f4cad9ceea..cb70cda7fe 100644 --- a/libavcodec/eatqi.c +++ b/libavcodec/eatqi.c @@ -90,7 +90,7 @@ static inline void tqi_idct_put(AVCodecContext *avctx, AVFrame *frame, int16_t (*block)[64]) { TqiContext *t = avctx->priv_data; - int linesize = frame->linesize[0]; + ptrdiff_t linesize = frame->linesize[0]; uint8_t *dest_y = frame->data[0] + t->mb_y * 16 * linesize + t->mb_x * 16; uint8_t *dest_cb = frame->data[1] + t->mb_y * 8 * frame->linesize[1] + t->mb_x * 8; uint8_t *dest_cr = frame->data[2] + t->mb_y * 8 * frame->linesize[2] + t->mb_x * 8; -- cgit v1.2.3