diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-09-11 14:37:12 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:16:46 +0200 |
commit | 816da6109a2874b8941759b1dfc80e95d7be9006 (patch) | |
tree | 4692ea62fe5990a64e674d62ac3b9531398bd7fb | |
parent | e0f8f99a19057dc5492d30d483964901efcd7f20 (diff) | |
download | mpv-816da6109a2874b8941759b1dfc80e95d7be9006.tar.bz2 mpv-816da6109a2874b8941759b1dfc80e95d7be9006.tar.xz |
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
-rw-r--r-- | libao2/ao_v4l2.c | 2 | ||||
-rw-r--r-- | 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 */ |