lavfi/minterpolate: fix blending calc issue.
authorJun Zhao <mypopydev@gmail.com>
Wed, 27 Jun 2018 07:09:25 +0000 (15:09 +0800)
committerJun Zhao <jun.zhao@intel.com>
Sun, 8 Jul 2018 15:05:34 +0000 (23:05 +0800)
commiteb776a16ea3c02096ee4eff2f12da0f03cb03ef3
tree4c836e95354c6fcb64b97ad0dfe527c1a2c70cfe
parentc126065947514ec41f2d3350b8018ab563a054bb
lavfi/minterpolate: fix blending calc issue.

the right blending calc is:
(alpha * Frame_2 + (MAX - alpha) * Frame_1 + 512) >> 10

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavfilter/vf_minterpolate.c