From 816da6109a2874b8941759b1dfc80e95d7be9006 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 11 Sep 2010 14:37:12 +0000 Subject: [PATCH] vo_v4l2: Move v4l2_fd extern declaration to vo_v4l2.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32158 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_v4l2.c | 2 -- libvo/vo_v4l2.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libao2/ao_v4l2.c b/libao2/ao_v4l2.c index 52fba877cb..2eac1031e5 100644 --- a/libao2/ao_v4l2.c +++ b/libao2/ao_v4l2.c @@ -59,8 +59,6 @@ control (int cmd,void *arg) static int init (int rate, int channels, int format, int flags) { - extern int v4l2_fd; - if (v4l2_fd < 0) return 0; diff --git a/libvo/vo_v4l2.h b/libvo/vo_v4l2.h index ac44fcaa75..15a445afc0 100644 --- a/libvo/vo_v4l2.h +++ b/libvo/vo_v4l2.h @@ -23,6 +23,8 @@ #ifndef MPLAYER_VO_V4L2_H #define MPLAYER_VO_V4L2_H +extern int v4l2_fd; + int v4l2_write(const unsigned char *data, int len); #endif /* MPLAYER_VO_V4L2_H */ -- 2.11.4.GIT