swscale: take first/lastline over/underflows into account for MMX.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 23 Feb 2012 00:48:38 +0000 (16:48 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 23 Feb 2012 18:30:08 +0000 (10:30 -0800)
commit1d8c4af396b6ed84c84b5ebf0bf1163c4a7a3017
tree8673352be3ba220b72715788503e0f5ca9d62cd6
parent491865b57db5fbb3053c221fd6d94b0435cad105
swscale: take first/lastline over/underflows into account for MMX.

Fixes crashes for extremely large resizes (several 100-fold).

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libswscale/x86/swscale_mmx.c