Skip to content
Snippets Groups Projects
Commit 7d7bacf0 authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

swscale: fix overflow in 16-bit vertical scaling.

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.
parent bf2cba45
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment