Convert multiplier for MV from int to ptrdiff_t.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 28 Sep 2013 00:13:59 +0000 (20:13 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Sep 2013 09:28:09 +0000 (11:28 +0200)
commitc341f734e5f9d6af4a8fdcceb6f5d12de6395c76
tree42c66699b2e6685e3c4ab67d32a6d0dec7a6e2be
parent7381d31f2267489ed5e939707b7e77a20adc168d
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 <michaelni@gmx.at>
17 files changed:
libavcodec/cavs.h
libavcodec/diracdec.c
libavcodec/h264.c
libavcodec/h264.h
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
libavcodec/mpegvideo_enc.c
libavcodec/mpegvideo_motion.c
libavcodec/snow.c
libavcodec/snow.h
libavcodec/videodsp.h
libavcodec/videodsp_template.c
libavcodec/vp3.c
libavcodec/vp56.c
libavcodec/vp8.c
libavcodec/wmv2.c
libavcodec/x86/videodsp_init.c