diff command.c @ 31200:01540ca7037d

Mark key_type structure as const.
author diego
date Sat, 29 May 2010 10:11:55 +0000
parents 69d662752608
children 0b7792622c88
line wrap: on
line diff
--- a/command.c	Sat May 29 10:10:30 2010 +0000
+++ b/command.c	Sat May 29 10:11:55 2010 +0000
@@ -529,7 +529,7 @@
                                 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;