avfilter/vf_framerate: calculate interpolation as integer
authorMarton Balint <cus@passwd.hu>
Thu, 21 Dec 2017 23:18:25 +0000 (00:18 +0100)
committerMarton Balint <cus@passwd.hu>
Thu, 4 Jan 2018 21:37:43 +0000 (22:37 +0100)
commitf528c49c7cd10bfb7f639c467e11bb624be71eef
tree5b7df348afdda6059a9dcd03708027a0651b852d
parentfde057dfb25e2b6917fc896a0b2dfec0f336b1ce
avfilter/vf_framerate: calculate interpolation as integer

It was truncated to int later on anyway. Fate test changes are due to rounding
instead of truncation.

Fixes fate test failures on x86-32 (gcc 4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1))
after 090b740680f91e0f2bf07423c36df7166740e8f6.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/vf_framerate.c
tests/ref/fate/filter-framerate-12bit-down
tests/ref/fate/filter-framerate-12bit-up
tests/ref/fate/filter-framerate-up