aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/refstruct.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-05-19 03:34:34 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-05-22 15:12:54 +0200
commitc8b09fb0acc71b490ed9929210e6b29db42b0635 (patch)
tree4f6b3480f2caaf8b92236f0f6bff99ce293016b1 /libavutil/refstruct.c
parent4099d53759ce5d9190a339c02b6bb486e2880f66 (diff)
downloadffmpeg-c8b09fb0acc71b490ed9929210e6b29db42b0635.tar.gz
avutil/refstruct: Remove redundant check
We now require C11. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/refstruct.c')
-rw-r--r--libavutil/refstruct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/refstruct.c b/libavutil/refstruct.c
index ce804f781a..7a5eb24826 100644
--- a/libavutil/refstruct.c
+++ b/libavutil/refstruct.c
@@ -45,7 +45,7 @@
#define REFSTRUCT_COOKIE AV_NE((uint64_t)MKBETAG('R', 'e', 'f', 'S') << 32 | MKBETAG('t', 'r', 'u', 'c'), \
MKTAG('R', 'e', 'f', 'S') | (uint64_t)MKTAG('t', 'r', 'u', 'c') << 32)
-#if __STDC_VERSION__ >= 201112L && !defined(_MSC_VER)
+#ifndef _MSC_VER
#define REFCOUNT_OFFSET FFALIGN(sizeof(RefCount), FFMAX(ALIGN_64, _Alignof(max_align_t)))
#else
#define REFCOUNT_OFFSET FFALIGN(sizeof(RefCount), ALIGN_64)