diff --git a/libavformat/rm.c b/libavformat/rm.c index 9911aac91e..29a6e408e0 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -21,7 +21,7 @@ #include "rm.h" -const char *ff_rm_metadata[4] = { +const char * const ff_rm_metadata[4] = { "title", "author", "copyright", diff --git a/libavformat/rm.h b/libavformat/rm.h index a60004883a..68207e1fe1 100644 --- a/libavformat/rm.h +++ b/libavformat/rm.h @@ -24,7 +24,7 @@ #include "avformat.h" -extern const char *ff_rm_metadata[4]; +extern const char * const ff_rm_metadata[4]; typedef struct RMStream RMStream;