History

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).

James Almer committed 3 years ago

Commit 61b27b11 parent 1c2a1e04 files · +37 −12Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+5−0
@@ -2,6 +2,11 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line
2 2
3API changes, most recent first:3API changes, most recent first:
4 4
52023-04-04 - xxxxxxxxxx - lavu 58.6.100 - hdr_dynamic_metadata.h
6 Add AV_HDR_PLUS_MAX_PAYLOAD_SIZE.
7 av_dynamic_hdr_plus_create_side_data() now accepts a user provided
8 buffer.
9
52023-03-xx - xxxxxxxxxx - lavfi 9.5.100 - avfilter.h102023-03-xx - xxxxxxxxxx - lavfi 9.5.100 - avfilter.h
6 Add AVFILTER_FLAG_HWDEVICE.11 Add AVFILTER_FLAG_HWDEVICE.
7 12

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t