[MPlayer-cvslog] r37702 - trunk/m_config.c

reimar subversion at mplayerhq.hu
Sat Feb 13 17:22:51 CET 2016


Author: reimar
Date: Sat Feb 13 17:22:51 2016
New Revision: 37702

Log:
m_config.c: add missing "const" to data table.

Modified:
   trunk/m_config.c

Modified: trunk/m_config.c
==============================================================================
--- trunk/m_config.c	Sat Feb 13 17:20:24 2016	(r37701)
+++ trunk/m_config.c	Sat Feb 13 17:22:51 2016	(r37702)
@@ -153,7 +153,7 @@ m_config_new(void) {
   m_config_t* config;
   static int initialized = 0;
   static m_option_type_t profile_opt_type;
-  static m_option_t ref_opts[] = {
+  static const m_option_t ref_opts[] = {
     { "profile", NULL, &profile_opt_type, CONF_NOSAVE, 0, 0, NULL },
     { "show-profile", show_profile, CONF_TYPE_PRINT_FUNC, CONF_NOCFG, 0, 0, NULL },
     { "list-options", list_options, CONF_TYPE_PRINT_FUNC, CONF_NOCFG, 0, 0, NULL },


More information about the MPlayer-cvslog mailing list