Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 libavformat/dashenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 1fac35a909..9c3ba2c389 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -205,7 +205,7 @@ typedef struct DASHContext {
     int64_t update_period;
 } DASHContext;
 
-static struct codec_string {
+static const struct codec_string {
     enum AVCodecID id;
     const char *str;
 } codecs[] = {
@@ -217,7 +217,7 @@ static struct codec_string {
     { AV_CODEC_ID_NONE, NULL }
 };
 
-static struct format_string {
+static const struct format_string {
     SegmentType segment_type;
     const char *str;
 } formats[] = {
-- 
2.34.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to