Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-07 18:08:15 +0300
committerDiego Biurrun <diego@biurrun.de>2016-09-29 18:54:23 +0300
commita339e919cad1ab0125948f0dd9d49f6cb590db89 (patch)
tree1746791dcd090211317c0918480f4d00e192aac3 /libavcodec/eatqi.c
parentba479f3daafc7e4359ec1212164569ebe59f0bb7 (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.c2
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;