summaryrefslogtreecommitdiffstats
path: root/libao2
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 /libao2
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 'libao2')
-rw-r--r--libao2/ao_v4l2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libao2/ao_v4l2.c b/libao2/ao_v4l2.c
index a9e386a448..3781fab359 100644
--- a/libao2/ao_v4l2.c
+++ b/libao2/ao_v4l2.c
@@ -33,6 +33,7 @@
#include "audio_out_internal.h"
#include "libaf/af_format.h"
#include "libmpdemux/mpeg_packetizer.h"
+#include "libvo/vo_v4l2.h"
#define MPEG_AUDIO_ID 0x1C0
@@ -144,8 +145,6 @@ get_space (void)
static int
play (void *data, int len, int flags)
{
- int v4l2_write (unsigned char *data, int len);
-
if (ao_data.format != AF_FORMAT_MPEG2)
return 0;