# HG changeset patch # User diego # Date 1277140207 0 # Node ID 6e8f3cbab5f4c1cb736256bb7efb67a36acb93d2 # Parent 99800c647f773c78a62aeeb9e3ea48694dc3d42b Move video decoder option array extern declarations to vd.h. diff -r 99800c647f77 -r 6e8f3cbab5f4 cfg-common.h --- a/cfg-common.h Mon Jun 21 17:09:14 2010 +0000 +++ b/cfg-common.h Mon Jun 21 17:10:07 2010 +0000 @@ -291,9 +291,6 @@ }; -extern const m_option_t lavc_decode_opts_conf[]; -extern const m_option_t xvid_dec_opts[]; - const m_option_t common_opts[] = { // ------------------------- common options -------------------- {"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, diff -r 99800c647f77 -r 6e8f3cbab5f4 libmpcodecs/vd.h --- a/libmpcodecs/vd.h Mon Jun 21 17:09:14 2010 +0000 +++ b/libmpcodecs/vd.h Mon Jun 21 17:10:07 2010 +0000 @@ -19,6 +19,7 @@ #ifndef MPLAYER_VD_H #define MPLAYER_VD_H +#include "m_option.h" #include "mp_image.h" #include "mpc_info.h" #include "libmpdemux/stheader.h" @@ -48,6 +49,9 @@ extern float movie_aspect; extern float screen_size_xy; +extern const m_option_t lavc_decode_opts_conf[]; +extern const m_option_t xvid_dec_opts[]; + #define VDCTRL_QUERY_FORMAT 3 /* test for availabilty of a format */ #define VDCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */ #define VDCTRL_SET_PP_LEVEL 5 /* set postprocessing level */