aboutsummaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-07 00:09:10 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-12 09:42:27 +0200
commit423b6a7e493828dd91d5e590e0905236f1f46557 (patch)
tree2bdbe0020ba7ecab45e3f0909a7f3d862520a6c7 /doc/APIchanges
parent5094d1f429e58a67c542f1c5940a3de5184c35ca (diff)
downloadffmpeg-423b6a7e493828dd91d5e590e0905236f1f46557.tar.gz
avutil/imgutils: Add wrapper for av_image_copy() to avoid casts
av_image_copy() accepts const uint8_t* const * as source; lots of user have uint8_t* const * and therefore either cast (the majority) or copy the array of pointers. This commit changes this by adding a static inline wrapper for av_image_copy() that casts between the two types so that we do not need to add casts everywhere else. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc/APIchanges')
-rw-r--r--doc/APIchanges4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index bf4fe9419e..be2c8c65e1 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,10 @@ The last version increases of all libraries were on 2023-02-09
API changes, most recent first:
+2023-09-07 - xxxxxxxxxx - lavu 58.24.100 - imgutils.h
+ Add av_image_copy2(), a wrapper around the av_image_copy()
+ to overcome limitations of automatic conversions.
+
2023-09-07 - xxxxxxxxxx - lavu 58.23.100 - fifo.h
Constify the AVFifo pointees in av_fifo_peek() and av_fifo_peek_to_cb().