summaryrefslogtreecommitdiff
path: root/libavcodec/eacmv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-07 17:08:15 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-29 17:54:23 +0200
commita339e919cad1ab0125948f0dd9d49f6cb590db89 (patch)
tree1746791dcd090211317c0918480f4d00e192aac3 /libavcodec/eacmv.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/eacmv.c')
-rw-r--r--libavcodec/eacmv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c
index 9668f64fbf..633c26ae14 100644
--- a/libavcodec/eacmv.c
+++ b/libavcodec/eacmv.c
@@ -71,8 +71,8 @@ static void cmv_decode_intra(CmvContext * s, AVFrame *frame,
}
}
-static void cmv_motcomp(unsigned char *dst, int dst_stride,
- const unsigned char *src, int src_stride,
+static void cmv_motcomp(unsigned char *dst, ptrdiff_t dst_stride,
+ const unsigned char *src, ptrdiff_t src_stride,
int x, int y,
int xoffset, int yoffset,
int width, int height){