diff options
-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 */ |