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).
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -2,6 +2,11 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line | ||
| 2 | 2 | |
| 3 | 3 | API changes, most recent first: |
| 4 | 4 | |
| 5 | +2023-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 | + | |
| 5 | 10 | 2023-03-xx - xxxxxxxxxx - lavfi 9.5.100 - avfilter.h |
| 6 | 11 | Add AVFILTER_FLAG_HWDEVICE. |
| 7 | 12 | |