[FFmpeg-cvslog] avformat/mxfdec: Add missing const to mxf_mastering_display*
Tomas Härdin
git at videolan.org
Wed Feb 3 19:07:23 EET 2021
ffmpeg | branch: master | Tomas Härdin <tjoppen at acc.umu.se> | Wed Feb 3 16:00:23 2021 +0100| [e6254d5ab900be5dea32ecd89a76aaa90bb0cf1f] | committer: Tomas Härdin
avformat/mxfdec: Add missing const to mxf_mastering_display*
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e6254d5ab900be5dea32ecd89a76aaa90bb0cf1f
---
libavformat/mxfdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 93fa7a97c0..d5fabd2a9a 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -336,8 +336,8 @@ static const uint8_t mxf_indirect_value_utf16be[] = { 0x42,0x01,0x10,0x
static const uint8_t mxf_apple_coll_max_cll[] = { 0x06,0x0e,0x2b,0x34,0x01,0x01,0x01,0x0e,0x0e,0x20,0x04,0x01,0x05,0x03,0x01,0x01 };
static const uint8_t mxf_apple_coll_max_fall[] = { 0x06,0x0e,0x2b,0x34,0x01,0x01,0x01,0x0e,0x0e,0x20,0x04,0x01,0x05,0x03,0x01,0x02 };
-static uint8_t mxf_mastering_display_prefix[13] = { FF_MXF_MasteringDisplay_PREFIX };
-static uint8_t mxf_mastering_display_uls[4][16] = {
+static const uint8_t mxf_mastering_display_prefix[13] = { FF_MXF_MasteringDisplay_PREFIX };
+static const uint8_t mxf_mastering_display_uls[4][16] = {
FF_MXF_MasteringDisplayPrimaries,
FF_MXF_MasteringDisplayWhitePointChromaticity,
FF_MXF_MasteringDisplayMaximumLuminance,
More information about the ffmpeg-cvslog
mailing list