1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avformat/dashenc: Add const where appropriate

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-09-06 16:54:08 +02:00
parent b948aa958a
commit e4ab1b8f70

View File

@ -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[] = {