diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index b14160f912..3f4faa42e8 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -291,7 +291,7 @@ static int cmp_qpel(MpegEncContext *s, const int x, const int y, const int subx, #include "motion_est_template.c" static int zero_cmp(MpegEncContext *s, uint8_t *a, uint8_t *b, - int stride, int h) + ptrdiff_t stride, int h) { return 0; }