summaryrefslogtreecommitdiffstats
path: root/library.mak
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-12-17 19:56:40 +0000
committerMans Rullgard <mans@mansr.com>2011-12-17 22:41:53 +0000
commit72dafea0fc0eb7230d7ebb0a7bc803e13b72aaad (patch)
treecee4a2212c3d21555a2c899c848191662dd18d0c /library.mak
parent86a10281c7f6204b3ac1253718971b1f8c106699 (diff)
downloadffmpeg-streaming-72dafea0fc0eb7230d7ebb0a7bc803e13b72aaad.zip
ffmpeg-streaming-72dafea0fc0eb7230d7ebb0a7bc803e13b72aaad.tar.gz
swscale: fix overflow in gray16 vertical scaling.
This fixes the same overflow as in the RGB48/16-bit YUV scaling; some filters can overflow both negatively and positively (e.g. spline/lanczos), so we bias a signed integer so it's "half signed" and "half unsigned", and can cover overflows in both directions while maintaining full 31-bit depth. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'library.mak')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud