mirror of https://github.com/mpv-player/mpv
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:
parent
e0f8f99a19
commit
816da6109a
|
@ -59,8 +59,6 @@ control (int cmd,void *arg)
|
||||||
static int
|
static int
|
||||||
init (int rate, int channels, int format, int flags)
|
init (int rate, int channels, int format, int flags)
|
||||||
{
|
{
|
||||||
extern int v4l2_fd;
|
|
||||||
|
|
||||||
if (v4l2_fd < 0)
|
if (v4l2_fd < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
#ifndef MPLAYER_VO_V4L2_H
|
#ifndef MPLAYER_VO_V4L2_H
|
||||||
#define MPLAYER_VO_V4L2_H
|
#define MPLAYER_VO_V4L2_H
|
||||||
|
|
||||||
|
extern int v4l2_fd;
|
||||||
|
|
||||||
int v4l2_write(const unsigned char *data, int len);
|
int v4l2_write(const unsigned char *data, int len);
|
||||||
|
|
||||||
#endif /* MPLAYER_VO_V4L2_H */
|
#endif /* MPLAYER_VO_V4L2_H */
|
||||||
|
|
Loading…
Reference in New Issue