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
This commit is contained in:
diego 2010-09-11 14:37:12 +00:00 committed by Uoti Urpala
parent e0f8f99a19
commit 816da6109a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 */