summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r--core/cfg-mplayer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 499ba3f1e3..a7f9637ebe 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -43,9 +43,6 @@ extern int stop_xscreensaver;
extern int mp_msg_color;
extern int mp_msg_module;
-/* defined in codec-cfg.c */
-extern char *codecs_file;
-
/* defined in dec_video.c */
extern int field_dominance;
@@ -490,7 +487,7 @@ const m_option_t common_opts[] = {
{"lavdopts", (void *) lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
{"lavfdopts", (void *) lavfdopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
- {"codecs-file", &codecs_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ OPT_STRING("codecs-file", codecs_file, 0),
// ------------------------- subtitles options --------------------
OPT_STRINGLIST("sub", sub_name, 0),