summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cfg-mplayer.h2
-rw-r--r--libvo/vo_dxr2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 0465725421..c1bfa57fcc 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -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;
diff --git a/libvo/vo_dxr2.c b/libvo/vo_dxr2.c
index 28fd7a86bb..6c563cb3c7 100644
--- a/libvo/vo_dxr2.c
+++ b/libvo/vo_dxr2.c
@@ -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 },