[MPlayer-cvslog] r30998 - in trunk: cfg-mplayer.h libvo/vo_dxr2.c
diego
subversion at mplayerhq.hu
Sun Apr 4 18:08:15 CEST 2010
Author: diego
Date: Sun Apr 4 18:08:15 2010
New Revision: 30998
Log:
Mark dxr2_opts array as const.
Modified:
trunk/cfg-mplayer.h
trunk/libvo/vo_dxr2.c
Modified: trunk/cfg-mplayer.h
==============================================================================
--- trunk/cfg-mplayer.h Sun Apr 4 17:59:09 2010 (r30997)
+++ trunk/cfg-mplayer.h Sun Apr 4 18:08:15 2010 (r30998)
@@ -55,7 +55,7 @@ extern int menu_fribidi_flip_commas;
extern char *unrar_executable;
-extern m_option_t dxr2_opts[];
+extern const m_option_t dxr2_opts[];
extern char * skinName;
extern int guiWinID;
Modified: trunk/libvo/vo_dxr2.c
==============================================================================
--- trunk/libvo/vo_dxr2.c Sun Apr 4 17:59:09 2010 (r30997)
+++ trunk/libvo/vo_dxr2.c Sun Apr 4 18:08:15 2010 (r30998)
@@ -88,7 +88,7 @@ static int ck_b = 0xFF;
static int cr_left = 0, cr_right = 0;
static int cr_top = 55, cr_bot = 300;
-m_option_t dxr2_opts[] = {
+const m_option_t dxr2_opts[] = {
{ "overlay", &use_ol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{ "nooverlay", &use_ol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{ "overlay-ratio", &ol_ratio, CONF_TYPE_INT, CONF_RANGE, 1, 2500, NULL },
More information about the MPlayer-cvslog
mailing list