Message ID | 20210131191818.17203-2-michael@niedermayer.cc |
---|---|
State | Accepted |
Headers | show |
Series | [FFmpeg-devel,01/12] avcodec/hevc_sei: Check payload size in decode_nal_sei_message() | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
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.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- doc/APIchanges | 3 +++ libavutil/common.h | 1 + 2 files changed, 4 insertions(+)