aboutsummaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-03 14:03:25 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-05-21 10:45:23 +0200
commit004cc60f0e30a7d37499d60d7d0acaf43d3755a0 (patch)
treef95c36eface81517e2f214f7e110fbe19d861282 /doc/APIchanges
parentb6f84cd72acd84ba725922bd6a8967b416b2230a (diff)
downloadffmpeg-004cc60f0e30a7d37499d60d7d0acaf43d3755a0.tar.gz
avutil/avassert: Add av_unreachable() and av_assume() macros
Useful to let the compiler and static analyzers know that something is unreachable without adding an av_assert (which would be either dead for the compiler or add runtime overhead) for this. The implementation used here enforces the use of a message to provide a reason why a particular code is supposed to be unreachable. Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc/APIchanges')
-rw-r--r--doc/APIchanges3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index d0869561f3..91710bb27d 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28
API changes, most recent first:
+2025-05-21 - xxxxxxxxxx - lavu 60.3.100 - avassert.h
+ Add av_unreachable() and av_assume() macros.
+
2025-02-xx - xxxxxxxxxx - lavfi 10.10.100 - avfilter.h
Add avfilter_link_get_hw_frames_ctx().