changeset 30593:8fccdda74db0

Add header for functions exported from vo_zr.c and use it appropriately.
author diego
date Thu, 18 Feb 2010 10:19:42 +0000
parents 66e27086f326
children 15a0ece27006
files cfg-mplayer.h libvo/vo_zr.c libvo/vo_zr.h
diffstat 3 files changed, 31 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Thu Feb 18 09:41:52 2010 +0000
+++ b/cfg-mplayer.h	Thu Feb 18 10:19:42 2010 +0000
@@ -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 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;
--- a/libvo/vo_zr.c	Thu Feb 18 09:41:52 2010 +0000
+++ b/libvo/vo_zr.c	Thu Feb 18 10:19:42 2010 +0000
@@ -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 =
 {
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libvo/vo_zr.h	Thu Feb 18 10:19:42 2010 +0000
@@ -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 */