summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:35:40 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:35:40 +0300
commit05ad815133fcb0ade9a1040069dedba1abf9d6f0 (patch)
treecead166eb1f9fe7f1be9c0de374e0f93f8cf2e56 /command.c
parent37e1edee352afb6d1b212403a84827aa6072943a (diff)
downloadmpv-05ad815133fcb0ade9a1040069dedba1abf9d6f0.tar.bz2
mpv-05ad815133fcb0ade9a1040069dedba1abf9d6f0.tar.xz
Mark some constant symbols as such
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index f46c8e440a..fb34b8abbe 100644
--- a/command.c
+++ b/command.c
@@ -517,7 +517,7 @@ static int mp_property_metadata(m_option_t *prop, int action, void *arg,
MPContext *mpctx) {
m_property_action_t* ka;
char* meta;
- static m_option_t key_type =
+ static const m_option_t key_type =
{ "metadata", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL };
if (!mpctx->demuxer)
return M_PROPERTY_UNAVAILABLE;