[FFmpeg-cvslog] avcodec/dovi_rpuenc: Constify dv_levels

Andreas Rheinhardt git at videolan.org
Wed Apr 9 15:03:23 EEST 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Apr  3 10:30:22 2025 +0200| [d073d0d3bb6891eea4197fe89ac4dd0e6e47e5cd] | committer: Andreas Rheinhardt

avcodec/dovi_rpuenc: Constify dv_levels

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d073d0d3bb6891eea4197fe89ac4dd0e6e47e5cd
---

 libavcodec/dovi_rpuenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dovi_rpuenc.c b/libavcodec/dovi_rpuenc.c
index 334b2c98a0..2e1f8be08e 100644
--- a/libavcodec/dovi_rpuenc.c
+++ b/libavcodec/dovi_rpuenc.c
@@ -31,7 +31,7 @@
 #include "put_golomb.h"
 #include "libavutil/refstruct.h"
 
-static struct {
+static const struct {
     uint64_t pps; // maximum pixels per second
     int width; // maximum width
     int main; // maximum bitrate in main tier



More information about the ffmpeg-cvslog mailing list