summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hls.c4
-rw-r--r--libavformat/id3v2.c2
-rw-r--r--libavformat/id3v2.h2
-rw-r--r--libavformat/mxfdec.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 0995345..786934a 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1498,9 +1498,9 @@ static int select_cur_seq_no(HLSContext *c, struct playlist *pls)
static int save_avio_options(AVFormatContext *s)
{
HLSContext *c = s->priv_data;
- static const char *opts[] = {
+ static const char * const opts[] = {
"headers", "http_proxy", "user_agent", "user-agent", "cookies", NULL };
- const char **opt = opts;
+ const char * const * opt = opts;
uint8_t *buf;
int ret = 0;
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 0534635..f15cefe 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -102,7 +102,7 @@ const char ff_id3v2_3_tags[][4] = {
{ 0 },
};
-const char *ff_id3v2_picture_types[21] = {
+const char * const ff_id3v2_picture_types[21] = {
"Other",
"32x32 pixels 'file icon'",
"Other file icon",
diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h
index 9d7bf1c..6e7a8c9 100644
--- a/libavformat/id3v2.h
+++ b/libavformat/id3v2.h
@@ -180,6 +180,6 @@ extern const char ff_id3v2_3_tags[][4];
extern const CodecMime ff_id3v2_mime_tags[];
-extern const char *ff_id3v2_picture_types[21];
+extern const char * const ff_id3v2_picture_types[21];
#endif /* AVFORMAT_ID3V2_H */
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 476d284..1855f95 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1204,7 +1204,7 @@ static const MXFCodecUL mxf_data_essence_container_uls[] = {
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AV_CODEC_ID_NONE },
};
-static const char* const mxf_data_essence_descriptor[] = {
+static const char * const mxf_data_essence_descriptor[] = {
"vbi_vanc_smpte_436M",
};
OpenPOWER on IntegriCloud