diff options
Diffstat (limited to 'libraries/libopenshot/resolve-abs.patch')
-rw-r--r-- | libraries/libopenshot/resolve-abs.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libraries/libopenshot/resolve-abs.patch b/libraries/libopenshot/resolve-abs.patch deleted file mode 100644 index 917a9f085cce7..0000000000000 --- a/libraries/libopenshot/resolve-abs.patch +++ /dev/null @@ -1,21 +0,0 @@ -commit e39a1fc809d21d64ef8b96fcba6b56f554ccb550 -Author: Christoph Willing <chris.willing@linux.com> -Date: Mon Feb 10 18:28:56 2020 +1000 - - Resolve ambiguous abs() call - - Signed-off-by: Christoph Willing <chris.willing@linux.com> - -diff --git a/src/KeyFrame.cpp b/src/KeyFrame.cpp -index c54bc7d..457ed9b 100644 ---- a/src/KeyFrame.cpp -+++ b/src/KeyFrame.cpp -@@ -71,7 +71,7 @@ namespace { - } - double const x = p0.X * B[0] + p1.X * B[1] + p2.X * B[2] + p3.X * B[3]; - double const y = p0.Y * B[0] + p1.Y * B[1] + p2.Y * B[2] + p3.Y * B[3]; -- if (abs(target - x) < allowed_error) { -+ if (fabs(target - x) < allowed_error) { - return y; - } - if (x > target) { |