Mercurial > mplayer.hg
changeset 30956:389faed364e5
Mark dxr2_opts array as const.
author | diego |
---|---|
date | Sun, 04 Apr 2010 16:08:15 +0000 |
parents | 4e59a7aebadb |
children | 45b93bea8082 |
files | cfg-mplayer.h libvo/vo_dxr2.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cfg-mplayer.h Sun Apr 04 15:59:09 2010 +0000 +++ b/cfg-mplayer.h Sun Apr 04 16:08:15 2010 +0000 @@ -55,7 +55,7 @@ extern char *unrar_executable; -extern m_option_t dxr2_opts[]; +extern const m_option_t dxr2_opts[]; extern char * skinName; extern int guiWinID;
--- a/libvo/vo_dxr2.c Sun Apr 04 15:59:09 2010 +0000 +++ b/libvo/vo_dxr2.c Sun Apr 04 16:08:15 2010 +0000 @@ -88,7 +88,7 @@ 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 },