aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2021-01-31 15:51:10 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2021-02-10 12:28:29 +0100
commit1bda9bb68a1e273816c2c640e74e6de4f5632c33 (patch)
treedd8a41c723cf1b3011edad430771b18942417a8f /libavutil
parent0791a515d38fd35c1e2a309ec8f4015153687b8c (diff)
downloadffmpeg-1bda9bb68a1e273816c2c640e74e6de4f5632c33.tar.gz
libavutil/common: Add FFABS64U()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/common.h1
-rw-r--r--libavutil/version.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index a60a558b1d..5ccbed90b1 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -87,6 +87,7 @@
* As with many macros, this evaluates its argument twice.
*/
#define FFABSU(a) ((a) <= 0 ? -(unsigned)(a) : (unsigned)(a))
+#define FFABS64U(a) ((a) <= 0 ? -(uint64_t)(a) : (uint64_t)(a))
/**
* Comparator.
diff --git a/libavutil/version.h b/libavutil/version.h
index 21136e6cb7..b2165754f9 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -79,7 +79,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 56
-#define LIBAVUTIL_VERSION_MINOR 64
+#define LIBAVUTIL_VERSION_MINOR 65
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \