summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-18 10:19:42 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-18 10:19:42 +0000
commiteea4f2238b61d8938e14aa8176b147f40f9c2368 (patch)
treefb449a5ce37dbeb9d11062e137ea354bc273b527
parent352dfc79e4c3434ea8835cb1d9014ae0c08d461a (diff)
downloadmpv-eea4f2238b61d8938e14aa8176b147f40f9c2368.tar.bz2
mpv-eea4f2238b61d8938e14aa8176b147f40f9c2368.tar.xz
Add header for functions exported from vo_zr.c and use it appropriately.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30635 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--cfg-mplayer.h4
-rw-r--r--libvo/vo_zr.c2
-rw-r--r--libvo/vo_zr.h29
3 files changed, 31 insertions, 4 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 0fa7249cad..a9d23e381a 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -24,6 +24,7 @@
*/
#include "cfg-common.h"
+#include "libvo/vo_zr.h"
extern int key_fifo_size;
extern unsigned doubleclick_time;
@@ -58,9 +59,6 @@ extern int menu_fribidi_flip_commas;
extern char *unrar_executable;
-int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param);
-void vo_zr_revertoption(const m_option_t* opt,char* pram);
-
extern m_option_t dxr2_opts[];
extern char * skinName;
diff --git a/libvo/vo_zr.c b/libvo/vo_zr.c
index 95b12eb243..af9cc9b00a 100644
--- a/libvo/vo_zr.c
+++ b/libvo/vo_zr.c
@@ -41,8 +41,8 @@
#include "mp_msg.h"
#include "m_option.h"
#include "fastmemcpy.h"
-
#include "jpeg_enc.h"
+#include "vo_zr.h"
static const vo_info_t info =
{
diff --git a/libvo/vo_zr.h b/libvo/vo_zr.h
new file mode 100644
index 0000000000..ce13f0fb41
--- /dev/null
+++ b/libvo/vo_zr.h
@@ -0,0 +1,29 @@
+/*
+ * playback on Zoran cards
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPLAYER_VO_ZR_H
+#define MPLAYER_VO_ZR_H
+
+#include "m_option.h"
+
+int vo_zr_parseoption(const m_option_t *conf, const char *opt, const char *param);
+void vo_zr_revertoption(const m_option_t *opt, const char *param);
+
+#endif /* MPLAYER_VO_ZR_H */