0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

Mark dxr2_opts array as const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30998 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-04-04 16:08:15 +00:00
parent 75fad5bac6
commit d2d509dc39
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 },