From 959b718957527710b4bcf6e7227a0beaeb034137 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 10 Jun 2014 21:44:50 +0200 Subject: stream_dvb: remove global option variables --- options/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 509a408537..12057c6e9a 100644 --- a/options/options.c +++ b/options/options.c @@ -64,8 +64,8 @@ static void print_help(struct mp_log *log) extern const struct m_sub_options tv_params_conf; extern const struct m_sub_options stream_pvr_conf; extern const struct m_sub_options stream_cdda_conf; +extern const struct m_sub_options stream_dvb_conf; -extern const m_option_t dvbin_opts_conf[]; extern const m_option_t lavfdopts_conf[]; extern int sws_chr_vshift; @@ -248,7 +248,7 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("pvr", stream_pvr_opts, stream_pvr_conf, 0), #endif /* HAVE_PVR */ #if HAVE_DVBIN - {"dvbin", (void *) dvbin_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, + OPT_SUBSTRUCT("dvbin", stream_dvb_opts, stream_dvb_conf, 0), #endif // ------------------------- a-v sync options -------------------- -- cgit v1.2.3