changeset 31457:6e8f3cbab5f4

Move video decoder option array extern declarations to vd.h.
author diego
date Mon, 21 Jun 2010 17:10:07 +0000
parents 99800c647f77
children dc7d2af64152
files cfg-common.h libmpcodecs/vd.h
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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},
--- 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 */