summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-04-01 12:12:11 -0300
committerJames Almer <jamrial@gmail.com>2023-04-05 09:47:12 -0300
commit61b27b15fc924d7fa35baa61cfbc91568945f5db (patch)
treec4e769a30e53f30515fb1c118ffe6a4f19209beb /doc
parent1c2a1e07500017c873a318fe2f49011f35c1f534 (diff)
downloadffmpeg-61b27b15fc924d7fa35baa61cfbc91568945f5db.tar.gz
avutil/hdr_dynamic_metadata: allow av_dynamic_hdr_plus_to_t35() to accept an existing buffer
The function now accepts an existing buffer to avoid unnecessary allocations, as well as only reporting the needed amount of bytes if you pass a NULL pointer as input for data. For this, both parameters become input and output, as well as making data optional. This is backwards compatible, and as such not breaking any existing use of the function in external code (if there's any). Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 29ddaa31bd..44ba3ad634 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,11 @@ The last version increases of all libraries were on 2023-02-09
API changes, most recent first:
+2023-04-04 - xxxxxxxxxx - lavu 58.6.100 - hdr_dynamic_metadata.h
+ Add AV_HDR_PLUS_MAX_PAYLOAD_SIZE.
+ av_dynamic_hdr_plus_create_side_data() now accepts a user provided
+ buffer.
+
2023-03-xx - xxxxxxxxxx - lavfi 9.5.100 - avfilter.h
Add AVFILTER_FLAG_HWDEVICE.