swscale: fix overflow in 16-bit vertical scaling.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 8 Jul 2011 21:57:07 +0000 (14:57 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 8 Jul 2011 22:15:30 +0000 (15:15 -0700)
We operated on 31-bits, but with e.g. lanczos scaling, values can
add up to beyond 0x80000000, thus leading to output of zeroes. Drop
one bit of precision fixes this.


No differences found