aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libfdk-aacdec.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2025-08-08 00:57:18 +0200
committerLeo Izen <leo.izen@gmail.com>2025-08-14 19:42:13 +0000
commit47c6af7d299c96b2e65f5f10526e0f34e00b23c8 (patch)
treed63fd62c2cd8e6900846a385dedef226391c1df6 /libavcodec/libfdk-aacdec.c
parent3ab9eebba7e73fbf7f4cff0f5b8c3a0d1b8ac884 (diff)
downloadffmpeg-master.tar.gz
avutil/avassert: always implement av_assume with av_unreachableHEADmaster
One of the design goals of this macro is the ability to support static inline predicate functions. Which is emitting warning in clang that a function may have side-effects and the condition will be ignored. MSVC doesn't emit warning, but also ignore predicate in such cases. Instead of using assume builtins, implement it using unreachable. Which solves this case for MSVC and Clang. This reverts ea56fe60acc139a4dc7c531f2cb9f5319cef7a09, but also extends it to MSVC, which is affected in the similar way. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Diffstat (limited to 'libavcodec/libfdk-aacdec.c')
0 files changed, 0 insertions, 0 deletions