[FFmpeg-cvslog] libavutil/common: Add FFABS64U()

Michael Niedermayer git at videolan.org
Wed Feb 10 13:42:54 EET 2021


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Jan 31 15:51:10 2021 +0100| [1bda9bb68a1e273816c2c640e74e6de4f5632c33] | committer: Michael Niedermayer

libavutil/common: Add FFABS64U()

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1bda9bb68a1e273816c2c640e74e6de4f5632c33
---

 doc/APIchanges      | 3 +++
 libavutil/common.h  | 1 +
 libavutil/version.h | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 1332694820..4753463c90 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@ libavutil:     2017-10-21
 
 API changes, most recent first:
 
+2021-02-xx - xxxxxxxxxx - lavu 56.xx.100 - common.h
+  Add FFABS64U()
+
 2021-01-26 - xxxxxxxxxx - lavu 56.64.100 - common.h
   Add FFABSU()
 
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, \



More information about the ffmpeg-cvslog mailing list