summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-29 10:11:55 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-29 10:11:55 +0000
commit36edf0ef69b4765caffd972d3f492643a9882591 (patch)
tree8fbd9a176a599f349587ca8e98a500b9fe667b0a /command.c
parent1f14172166e029dbd5e0b001bd8305421bf91a99 (diff)
downloadmpv-36edf0ef69b4765caffd972d3f492643a9882591.tar.bz2
mpv-36edf0ef69b4765caffd972d3f492643a9882591.tar.xz
Mark key_type structure as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31262 b3059339-0415-0410-9bf9-f77b7e298cf2
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 54e41ff73a..a753fc396e 100644
--- a/command.c
+++ b/command.c
@@ -529,7 +529,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;