diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-08-23 16:31:12 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-23 23:19:31 +0200 |
commit | 24e6729a049e476414ed677b97950421ab86c673 (patch) | |
tree | 3e7fc5e92d7b91b9964372e166dba6423a09fb59 /libswresample/rematrix_template.c | |
parent | 9aaac0410767a1e45a60c535b10e913690b0fcc1 (diff) | |
download | ffmpeg-24e6729a049e476414ed677b97950421ab86c673.tar.gz |
swresample/dither: use integer arithmetic
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@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswresample/rematrix_template.c')
0 files changed, 0 insertions, 0 deletions