Move v4l2_fd extern declaration to vo_v4l2.h, where it belongs.
author |
diego |
date |
Sat, 11 Sep 2010 14:37:12 +0000 |
parents |
6e056d82cc2c |
children |
ddb9036e140a |
files |
libao2/ao_v4l2.c libvo/vo_v4l2.h |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/libao2/ao_v4l2.c Sat Sep 11 14:31:13 2010 +0000
+++ b/libao2/ao_v4l2.c Sat Sep 11 14:37:12 2010 +0000
@@ -61,8 +61,6 @@
static int
init (int rate, int channels, int format, int flags)
{
- extern int v4l2_fd;
-
if (v4l2_fd < 0)
return 0;
--- a/libvo/vo_v4l2.h Sat Sep 11 14:31:13 2010 +0000
+++ b/libvo/vo_v4l2.h Sat Sep 11 14:37:12 2010 +0000
@@ -23,6 +23,8 @@
#ifndef MPLAYER_VO_V4L2_H
#define MPLAYER_VO_V4L2_H
+extern int v4l2_fd;
+
int v4l2_write (unsigned char *data, int len);
#endif /* MPLAYER_VO_V4L2_H */