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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new d1a43f1486 avutil/dovi_meta: Document valid range for index of 
av_dovi_get_ext()
d1a43f1486 is described below

commit d1a43f14867ab4987b8719d6752ad232c90f5df7
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Feb 3 21:07:02 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Wed Feb 4 15:25:18 2026 +0000

    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]>
---
 libavutil/dovi_meta.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/dovi_meta.h b/libavutil/dovi_meta.h
index 18aebaaca8..c102bf384f 100644
--- a/libavutil/dovi_meta.h
+++ b/libavutil/dovi_meta.h
@@ -377,6 +377,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