diff options
Diffstat (limited to 'libswresample')
-rw-r--r-- | libswresample/swresample-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/swresample-test.c b/libswresample/swresample-test.c index 47c54a109b..9caa750750 100644 --- a/libswresample/swresample-test.c +++ b/libswresample/swresample-test.c @@ -374,7 +374,7 @@ int main(int argc, char **argv){ sum_aa+= a*a; sum_bb+= b*b; sum_ab+= a*b; - maxdiff= FFMAX(maxdiff, FFABS(a-b)); + maxdiff= FFMAX(maxdiff, fabs(a-b)); } sse= sum_aa + sum_bb - 2*sum_ab; if(sse < 0 && sse > -0.00001) sse=0; //fix rounding error @@ -404,7 +404,7 @@ int main(int argc, char **argv){ sum_aa+= a*a; sum_bb+= b*b; sum_ab+= a*b; - maxdiff= FFMAX(maxdiff, FFABS(a-b)); + maxdiff= FFMAX(maxdiff, fabs(a-b)); } sse= sum_aa + sum_bb - 2*sum_ab; if(sse < 0 && sse > -0.00001) sse=0; //fix rounding error |