aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mxfdec.c
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 /libavformat/mxfdec.c
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 'libavformat/mxfdec.c')
0 files changed, 0 insertions, 0 deletions