[MPlayer-cvslog] r30635 - in trunk: cfg-mplayer.h libvo/vo_zr.c libvo/vo_zr.h

diego subversion at mplayerhq.hu
Thu Feb 18 11:19:42 CET 2010


Author: diego
Date: Thu Feb 18 11:19:42 2010
New Revision: 30635

Log:
Add header for functions exported from vo_zr.c and use it appropriately.

Added:
   trunk/libvo/vo_zr.h
Modified:
   trunk/cfg-mplayer.h
   trunk/libvo/vo_zr.c

Modified: trunk/cfg-mplayer.h
==============================================================================
--- trunk/cfg-mplayer.h	Thu Feb 18 10:41:52 2010	(r30634)
+++ trunk/cfg-mplayer.h	Thu Feb 18 11:19:42 2010	(r30635)
@@ -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;

Modified: trunk/libvo/vo_zr.c
==============================================================================
--- trunk/libvo/vo_zr.c	Thu Feb 18 10:41:52 2010	(r30634)
+++ trunk/libvo/vo_zr.c	Thu Feb 18 11:19:42 2010	(r30635)
@@ -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 =
 {

Added: trunk/libvo/vo_zr.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/libvo/vo_zr.h	Thu Feb 18 11:19:42 2010	(r30635)
@@ -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 */


More information about the MPlayer-cvslog mailing list