ffplay: replace rint by lrint
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 25 Dec 2015 19:27:53 +0000 (11:27 -0800)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 25 Dec 2015 21:11:09 +0000 (13:11 -0800)
commitf16e4a0857e368a4828cd1fbfda7f44cbbf83f06
tree27cf0aabdcf11138e628b95a0406cc315c5bdefa
parent0abdcae5a9075fc5527b273822c50ae04c7b0c8f
ffplay: replace rint by lrint

avoids the float to integer cast, and is slightly superior in terms of
rounding ("Dutch/Gauss rounding").

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
ffplay.c