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/cavs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cavs.h') diff --git a/libavcodec/cavs.h b/libavcodec/cavs.h index b0cdb8f200..f3c05dc9f0 100644 --- a/libavcodec/cavs.h +++ b/libavcodec/cavs.h @@ -210,7 +210,7 @@ typedef struct AVSContext { 6: A3 X2 X3 */ int pred_mode_Y[3*3]; int *top_pred_Y; - int l_stride, c_stride; + ptrdiff_t l_stride, c_stride; int luma_scan[4]; int qp; int qp_fixed; -- cgit v1.2.3