Re: [FFmpeg-devel] [PATCHv2] swresample/dither: use integer arithmetic

2015-08-23 Thread Michael Niedermayer
On Sun, Aug 23, 2015 at 04:31:12PM -0400, Ganesh Ajjanagadde wrote: > This fixes a -Wabsolute-value reported by clang 3.5+ complaining about misuse > of fabs() for integer absolute value. > An additional benefit is the removal of floating point calculations. > > Signed-off-by: Ganesh Ajjanagadde

[FFmpeg-devel] [PATCHv2] swresample/dither: use integer arithmetic

2015-08-23 Thread Ganesh Ajjanagadde
This fixes a -Wabsolute-value reported by clang 3.5+ complaining about misuse of fabs() for integer absolute value. An additional benefit is the removal of floating point calculations. Signed-off-by: Ganesh Ajjanagadde --- libswresample/dither.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio