Re: [FFmpeg-devel] [PATCH] ffplay: replace rint by lrint

2015-12-25 Thread Ganesh Ajjanagadde
On Fri, Dec 25, 2015 at 12:51 PM, Ronald S. Bultje wrote: > Hi, > > On Fri, Dec 25, 2015 at 2:29 PM, Ganesh Ajjanagadde > wrote: >> >> avoids the float to integer cast, and is slightly superior in terms of >> rounding ("Dutch/Gauss rounding"). >> >> Signed-off-by: Ganesh Ajjanagadde >> --- >> f

Re: [FFmpeg-devel] [PATCH] ffplay: replace rint by lrint

2015-12-25 Thread Ronald S. Bultje
Hi, On Fri, Dec 25, 2015 at 2:29 PM, Ganesh Ajjanagadde wrote: > avoids the float to integer cast, and is slightly superior in terms of > rounding ("Dutch/Gauss rounding"). > > Signed-off-by: Ganesh Ajjanagadde > --- > ffplay.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > di

[FFmpeg-devel] [PATCH] ffplay: replace rint by lrint

2015-12-25 Thread Ganesh Ajjanagadde
avoids the float to integer cast, and is slightly superior in terms of rounding ("Dutch/Gauss rounding"). Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffplay.c b/ffplay.c index 2f8a0bf..9256392 100644 --- a/ffplay.c +++ b/