swscale: fix filtersize clipping.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 22 Feb 2012 22:51:37 +0000 (14:51 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 23 Feb 2012 00:54:20 +0000 (16:54 -0800)
commit1254022ea717fba6f189d6a66841e0ba204ed80a
tree606c6f6ecdc76fefb7c9a78c50249cf35ce07786
parent562ebc30775db243941db3c96396e7bf8a0e0a44
swscale: fix filtersize clipping.

if srcW<=2, clip(x, 1, srcW-2) still allows srcW to be < 1.
libswscale/utils.c