diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-06 16:54:08 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-10 21:16:09 +0200 |
commit | e4ab1b8f7026cb708349865cf9338ece60a5ecd7 (patch) | |
tree | 8efffcb65e9ce452929ad5f8b322aec08fdbe575 | |
parent | b948aa958ab70b4591cfa79d6465a8b866ca2459 (diff) | |
download | ffmpeg-e4ab1b8f7026cb708349865cf9338ece60a5ecd7.tar.gz |
avformat/dashenc: Add const where appropriate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavformat/dashenc.c | 4 |
1 files 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[] = { |