summaryrefslogtreecommitdiff
path: root/libavcodec/me_cmp.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-21 12:57:41 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-24 01:30:10 +0000
commit9c12c6ff9539e926df0b2a2299e915ae71872600 (patch)
treeb2b0146d38d3c92c2cae7e113366ce80667f99a7 /libavcodec/me_cmp.h
parentf856d9c2f314c493c672dfb9c876da182525da3d (diff)
motion_est: convert stride to ptrdiff_t
CC: libav-stable@libav.org Bug-Id: CID 700556 / CID 700557 / CID 700558
Diffstat (limited to 'libavcodec/me_cmp.h')
-rw-r--r--libavcodec/me_cmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/me_cmp.h b/libavcodec/me_cmp.h
index 05ae30b0c1..725f9b25ee 100644
--- a/libavcodec/me_cmp.h
+++ b/libavcodec/me_cmp.h
@@ -33,7 +33,8 @@ struct MpegEncContext;
* width < 8 are neither used nor implemented. */
typedef int (*me_cmp_func)(struct MpegEncContext *c,
uint8_t *blk1 /* align width (8 or 16) */,
- uint8_t *blk2 /* align 1 */, int line_size, int h);
+ uint8_t *blk2 /* align 1 */, ptrdiff_t stride,
+ int h);
typedef struct MECmpContext {
int (*sum_abs_dctelem)(int16_t *block /* align 16 */);