diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-07 17:08:15 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-29 17:54:23 +0200 |
commit | a339e919cad1ab0125948f0dd9d49f6cb590db89 (patch) | |
tree | 1746791dcd090211317c0918480f4d00e192aac3 /libavcodec/eatqi.c | |
parent | ba479f3daafc7e4359ec1212164569ebe59f0bb7 (diff) |
ea: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/eatqi.c')
-rw-r--r-- | libavcodec/eatqi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |