Re: [FFmpeg-devel] [PATCH 1/5] lavfi/vf_hue: replace rint by lrint

2015-12-25 Thread Ganesh Ajjanagadde
On Fri, Dec 25, 2015 at 5:41 PM, Michael Niedermayer wrote: > On Fri, Dec 25, 2015 at 04:00:16PM -0800, Ganesh Ajjanagadde wrote: >> avoids float to int cast, and is slightly superior in terms of rounding >> ("Dutch/Gauss rounding"). >> >> Signed-off-by: Ganesh Ajjanagadde >> --- >> libavfilter/

Re: [FFmpeg-devel] [PATCH 1/5] lavfi/vf_hue: replace rint by lrint

2015-12-25 Thread Michael Niedermayer
On Fri, Dec 25, 2015 at 04:00:16PM -0800, Ganesh Ajjanagadde wrote: > avoids float to int cast, and is slightly superior in terms of rounding > ("Dutch/Gauss rounding"). > > Signed-off-by: Ganesh Ajjanagadde > --- > libavfilter/vf_hue.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

[FFmpeg-devel] [PATCH 1/5] lavfi/vf_hue: replace rint by lrint

2015-12-25 Thread Ganesh Ajjanagadde
avoids float to int cast, and is slightly superior in terms of rounding ("Dutch/Gauss rounding"). Signed-off-by: Ganesh Ajjanagadde --- libavfilter/vf_hue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c index 2c1b34e..92607f1