diff options
author | James Almer <jamrial@gmail.com> | 2023-04-01 12:12:11 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-04-05 09:47:12 -0300 |
commit | 61b27b15fc924d7fa35baa61cfbc91568945f5db (patch) | |
tree | c4e769a30e53f30515fb1c118ffe6a4f19209beb /libavformat/mxfdec.c | |
parent | 1c2a1e07500017c873a318fe2f49011f35c1f534 (diff) | |
download | ffmpeg-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 'libavformat/mxfdec.c')
0 files changed, 0 insertions, 0 deletions