[MPlayer-cvslog] r30595 - in trunk/libmpcodecs: ad_libdv.c vd_libdv.c vd_libdv.h

diego subversion at mplayerhq.hu
Tue Feb 16 15:52:59 CET 2010


Author: diego
Date: Tue Feb 16 15:52:59 2010
New Revision: 30595

Log:
Add header for init_global_rawdv_decoder() instead of forward declaring it.

Added:
   trunk/libmpcodecs/vd_libdv.h
Modified:
   trunk/libmpcodecs/ad_libdv.c
   trunk/libmpcodecs/vd_libdv.c

Modified: trunk/libmpcodecs/ad_libdv.c
==============================================================================
--- trunk/libmpcodecs/ad_libdv.c	Tue Feb 16 14:16:17 2010	(r30594)
+++ trunk/libmpcodecs/ad_libdv.c	Tue Feb 16 15:52:59 2010	(r30595)
@@ -37,6 +37,7 @@
 #include "libmpdemux/stheader.h"
 
 #include "ad_internal.h"
+#include "vd_libdv.h"
 
 static const ad_info_t info =
 {
@@ -49,9 +50,6 @@ static const ad_info_t info =
 
 LIBAD_EXTERN(libdv)
 
-// defined in vd_libdv.c:
-dv_decoder_t*  init_global_rawdv_decoder(void);
-
 static int preinit(sh_audio_t *sh_audio)
 {
   sh_audio->audio_out_minsize=4*DV_AUDIO_MAX_SAMPLES*2;

Modified: trunk/libmpcodecs/vd_libdv.c
==============================================================================
--- trunk/libmpcodecs/vd_libdv.c	Tue Feb 16 14:16:17 2010	(r30594)
+++ trunk/libmpcodecs/vd_libdv.c	Tue Feb 16 15:52:59 2010	(r30595)
@@ -35,6 +35,7 @@
 #include "libmpdemux/stheader.h"
 
 #include "vd_internal.h"
+#include "vd_libdv.h"
 
 static const vd_info_t info =
 {

Added: trunk/libmpcodecs/vd_libdv.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/libmpcodecs/vd_libdv.h	Tue Feb 16 15:52:59 2010	(r30595)
@@ -0,0 +1,26 @@
+/*
+ * 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_VD_LIBDV_H
+#define MPLAYER_VD_LIBDV_H
+
+#include <libdv/dv_types.h>
+
+dv_decoder_t* init_global_rawdv_decoder(void);
+
+#endif /* MPLAYER_VD_LIBDV_H */


More information about the MPlayer-cvslog mailing list