avformat/dashenc: Add const where appropriate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -205,7 +205,7 @@ typedef struct DASHContext {
|
|||||||
int64_t update_period;
|
int64_t update_period;
|
||||||
} DASHContext;
|
} DASHContext;
|
||||||
|
|
||||||
static struct codec_string {
|
static const struct codec_string {
|
||||||
enum AVCodecID id;
|
enum AVCodecID id;
|
||||||
const char *str;
|
const char *str;
|
||||||
} codecs[] = {
|
} codecs[] = {
|
||||||
@@ -217,7 +217,7 @@ static struct codec_string {
|
|||||||
{ AV_CODEC_ID_NONE, NULL }
|
{ AV_CODEC_ID_NONE, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct format_string {
|
static const struct format_string {
|
||||||
SegmentType segment_type;
|
SegmentType segment_type;
|
||||||
const char *str;
|
const char *str;
|
||||||
} formats[] = {
|
} formats[] = {
|
||||||
|
Reference in New Issue
Block a user