avfilter/vf_minterpolate: do not right shift negative numbers
authorDavinder Singh <ds.mudhar@gmail.com>
Mon, 29 Aug 2016 15:04:54 +0000 (17:04 +0200)
committerPaul B Mahol <onemda@gmail.com>
Mon, 29 Aug 2016 15:32:47 +0000 (17:32 +0200)
commit11a631d4a76859e09cd413856e32df6363d25eea
tree6026718b835e2656ad6fa0321c12072427697afe
parenta0a57072c93be397afe346d03b907397d6b88396
avfilter/vf_minterpolate: do not right shift negative numbers

It was source of crashes. Use division instead.

Original patch by author. Log message by comitter.
libavfilter/vf_minterpolate.c