swscale: make filterPos 32bit.
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 5 Mar 2012 20:26:42 +0000 (12:26 -0800)
committerReinhard Tartler <siretart@tauware.de>
Thu, 8 Mar 2012 21:07:55 +0000 (22:07 +0100)
commit7503861b424f7a1151bf4c4714bd46b4bdc5b496
tree335c01f0d3a9e92428d2c60de4524c4e542b6b2f
parent9def2f200e55f625161b4040aa5ce2d86ae69ed3
swscale: make filterPos 32bit.

Fixes overflows for large image sizes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 2254b559cbcfc0418135f09add37c0a5866b1981)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libswscale/ppc/swscale_altivec.c
libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/utils.c
libswscale/x86/scale.asm
libswscale/x86/swscale_mmx.c
libswscale/x86/swscale_template.c