summaryrefslogtreecommitdiff
path: root/libavcodec/eamad.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/eamad.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/eamad.c')
-rw-r--r--libavcodec/eamad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/eamad.c b/libavcodec/eamad.c
index 3e8d4fdd88..070cfdb355 100644
--- a/libavcodec/eamad.c
+++ b/libavcodec/eamad.c
@@ -80,8 +80,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
return 0;
}
-static inline void comp(unsigned char *dst, int dst_stride,
- unsigned char *src, int src_stride, int add)
+static inline void comp(unsigned char *dst, ptrdiff_t dst_stride,
+ unsigned char *src, ptrdiff_t src_stride, int add)
{
int j, i;
for (j=0; j<8; j++)