This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/7.1
in repository ffmpeg.

commit ef38d5f696933f7bc3664d85c5540a2c51c4f0b4
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Feb 3 21:07:02 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon May 4 15:57:05 2026 +0200

    avutil/dovi_meta: Document valid range for index of av_dovi_get_ext()
    
    Every use case in libavcodec already checks the index
    
    Found-by: 이동준 <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit d1a43f14867ab4987b8719d6752ad232c90f5df7)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavutil/dovi_meta.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/dovi_meta.h b/libavutil/dovi_meta.h
index 5e8a1e43d7..99af82c924 100644
--- a/libavutil/dovi_meta.h
+++ b/libavutil/dovi_meta.h
@@ -369,6 +369,10 @@ av_dovi_get_color(const AVDOVIMetadata *data)
     return (AVDOVIColorMetadata *)((uint8_t *) data + data->color_offset);
 }
 
+/**
+ * Gets the specified Dolby Vision Display Management (DM) metadata
+ * @param index must be non negative and below data->num_ext_blocks
+ */
 static av_always_inline AVDOVIDmData *
 av_dovi_get_ext(const AVDOVIMetadata *data, int index)
 {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to