swscale: fix 16-bit horizontal scaling underflow.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 8 Jul 2011 21:54:31 +0000 (14:54 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 8 Jul 2011 22:15:30 +0000 (15:15 -0700)
commitf44d50a94c120135faeba6b4a1e5551b4397810f
treee09b0cac67467190094e9c59c6fe085195416fa9
parent42d622fab31dbcae91fd4b0810e0ac07027e2df1
swscale: fix 16-bit horizontal scaling underflow.

When using e.g. lanczos scaling, values can drop below 0, so they
should never be unsigned.
libswscale/swscale.c
tests/ref/lavfi/pixdesc
tests/ref/lavfi/pixfmts_copy
tests/ref/lavfi/pixfmts_hflip
tests/ref/lavfi/pixfmts_null
tests/ref/lavfi/pixfmts_scale
tests/ref/lavfi/pixfmts_vflip