From c341f734e5f9d6af4a8fdcceb6f5d12de6395c76 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 27 Sep 2013 20:13:59 -0400 Subject: Convert multiplier for MV from int to ptrdiff_t. This prevents emulated_edge_mc from not undoing mvy*stride-related integer overflows. Signed-off-by: Michael Niedermayer --- libavcodec/vp56.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/vp56.c') diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c index d67eaa6b0d..b5d1884aa5 100644 --- a/libavcodec/vp56.c +++ b/libavcodec/vp56.c @@ -311,7 +311,7 @@ static void vp56_deblock_filter(VP56Context *s, uint8_t *yuv, } static void vp56_mc(VP56Context *s, int b, int plane, uint8_t *src, - int stride, int x, int y) + ptrdiff_t stride, int x, int y) { uint8_t *dst = s->frames[VP56_FRAME_CURRENT]->data[plane] + s->block_offset[b]; uint8_t *src_block; -- cgit v1.2.3