]> git.sesse.net Git - ffmpeg/commit
swscale: fix off-by-one in second coefficient in bilinear filters.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 13 Apr 2012 21:37:47 +0000 (14:37 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 14 Apr 2012 23:29:10 +0000 (16:29 -0700)
commit4860625236475da20d0da954017e8c7fe412dea2
tree1ea7bbaa942b251c5faac3b59d8fc0e70c81f9ae
parent7bf9e3391fa21d90ff283fc03a12287fe73db9e8
swscale: fix off-by-one in second coefficient in bilinear filters.

If coefficient A is 12-bits xixed-point number "X", then the other
coefficient is (1 << 12) - X, not (1 << 12) - X - 1.
libswscale/output.c