diff options
author | Ronald S. Bultje <[email protected]> | 2011-07-08 14:57:07 -0700 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2011-07-11 03:51:46 +0200 |
commit | 93a10dd56121862fab13aa6676227673c534cc12 (patch) | |
tree | a6a58a6510b73c59596531457a61da46410dad71 /libavformat/rtmppkt.c | |
parent | 71a04bc19dfb990d3f7cce82b5516e88d2c371f4 (diff) |
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.
Diffstat (limited to 'libavformat/rtmppkt.c')
0 files changed, 0 insertions, 0 deletions