]> git.sesse.net Git - ffmpeg/commit
lavfi/vf_idet: replace round and cast by lrint
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 16 Dec 2015 18:03:59 +0000 (13:03 -0500)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 19 Dec 2015 17:33:32 +0000 (09:33 -0800)
commit641cb77f501a7fa1410ab53da4923b1bebc2e690
tree3417cc6ede26bfd50190da4e56906e6934775b86
parentdef3c83e1b85cc17cade257cbf3b1fb84e61f788
lavfi/vf_idet: replace round and cast by lrint

lrint is faster and conveys the intent better here. It is safe as long int has
at least 32 bits.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavfilter/vf_idet.c