[MPlayer-cvslog] r31262 - trunk/command.c

diego subversion at mplayerhq.hu
Sat May 29 12:11:55 CEST 2010


Author: diego
Date: Sat May 29 12:11:55 2010
New Revision: 31262

Log:
Mark key_type structure as const.

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	Sat May 29 12:10:30 2010	(r31261)
+++ trunk/command.c	Sat May 29 12:11:55 2010	(r31262)
@@ -529,7 +529,7 @@ static int mp_property_metadata(m_option
                                 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;


More information about the MPlayer-cvslog mailing list