lavfi/vf_cropdetect: replace round by lrint
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 16 Dec 2015 19:52:16 +0000 (14:52 -0500)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 19 Dec 2015 17:34:08 +0000 (09:34 -0800)
commit425c0685f245d715f2da7066c5a89564c1ab146b
tree33271369c8f56a102a88e052796fe262474d20dd
parent18bc3dc7681c2b520af62b9dea9c3d1815fc5ad7
lavfi/vf_cropdetect: replace round by lrint

lrint is at least as fast, and more accurate.

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