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

Michael Niedermayer michael at niedermayer.cc
Sun Aug 23 23:20:46 CEST 2015


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 <gajjanagadde at gmail.com>
> ---
>  libswresample/dither.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150823/9e38d228/attachment.sig>


More information about the ffmpeg-devel mailing list