summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 14:52:59 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 14:52:59 +0000
commit3c514ea708749679623ae04fc8f7ade87e51aade (patch)
tree6e2022be3f5f17773ff53a45ac334cc5e2d2b18b /libmpcodecs
parentcaa956090a2d7b62790217b08c0a8dd108c71aef (diff)
downloadmpv-3c514ea708749679623ae04fc8f7ade87e51aade.tar.bz2
mpv-3c514ea708749679623ae04fc8f7ade87e51aade.tar.xz
Add header for init_global_rawdv_decoder() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30595 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_libdv.c4
-rw-r--r--libmpcodecs/vd_libdv.c1
-rw-r--r--libmpcodecs/vd_libdv.h26
3 files changed, 28 insertions, 3 deletions
diff --git a/libmpcodecs/ad_libdv.c b/libmpcodecs/ad_libdv.c
index e7d0a82a54..8485a8883f 100644
--- a/libmpcodecs/ad_libdv.c
+++ b/libmpcodecs/ad_libdv.c
@@ -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;
diff --git a/libmpcodecs/vd_libdv.c b/libmpcodecs/vd_libdv.c
index 02d7e2fc54..137fa7bf60 100644
--- a/libmpcodecs/vd_libdv.c
+++ b/libmpcodecs/vd_libdv.c
@@ -35,6 +35,7 @@
#include "libmpdemux/stheader.h"
#include "vd_internal.h"
+#include "vd_libdv.h"
static const vd_info_t info =
{
diff --git a/libmpcodecs/vd_libdv.h b/libmpcodecs/vd_libdv.h
new file mode 100644
index 0000000000..608d06bf21
--- /dev/null
+++ b/libmpcodecs/vd_libdv.h
@@ -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 */