summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 23:31:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 23:31:56 +0000
commitb18b59b8d433f08662461f32e0404609c382d42b (patch)
tree0383e80bad4ded93027bc64c005701bbcafad359 /libvo
parentf9c2ab17affbbfcc2068b3269887aec14fb9ddac (diff)
downloadmpv-b18b59b8d433f08662461f32e0404609c382d42b.tar.bz2
mpv-b18b59b8d433f08662461f32e0404609c382d42b.tar.xz
Add header for v4l2_write() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30692 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_v4l2.c1
-rw-r--r--libvo/vo_v4l2.h28
2 files changed, 29 insertions, 0 deletions
diff --git a/libvo/vo_v4l2.c b/libvo/vo_v4l2.c
index f2e6535bab..b60edea878 100644
--- a/libvo/vo_v4l2.c
+++ b/libvo/vo_v4l2.c
@@ -42,6 +42,7 @@
#include "video_out.h"
#include "video_out_internal.h"
#include "libmpdemux/mpeg_packetizer.h"
+#include "vo_v4l2.h"
#define DEFAULT_MPEG_DECODER "/dev/video16"
#define V4L2_VO_HDR "VO: [v4l2]"
diff --git a/libvo/vo_v4l2.h b/libvo/vo_v4l2.h
new file mode 100644
index 0000000000..0e6a45522a
--- /dev/null
+++ b/libvo/vo_v4l2.h
@@ -0,0 +1,28 @@
+/*
+ * video output for V4L2 hardware MPEG decoders
+ *
+ * Copyright (C) 2007 Benjamin Zores
+ *
+ * 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_V4L2_H
+#define MPLAYER_VO_V4L2_H
+
+int v4l2_write (unsigned char *data, int len);
+
+#endif /* MPLAYER_VO_V4L2_H */