lavfi/drawutils: fix blending computation in blend_line function
authorMatthieu Bouron <matthieu.bouron@gmail.com>
Fri, 4 Jan 2013 21:08:11 +0000 (22:08 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Sat, 5 Jan 2013 12:08:02 +0000 (13:08 +0100)
commitbe0a67bd6508ccff81570a41ebe8169e34012c66
tree7c54a572cf329b1b3f755e1c4fcb96dca1b4e697
parentf27eb1b702d88f0ead83f161c835d69210aa007c
lavfi/drawutils: fix blending computation in blend_line function

If width is not alligned with hsub, background component should only be
multiplied once by sub alpha component.
libavfilter/drawutils.c