[MPlayer-cvslog] r32158 - in trunk: libao2/ao_v4l2.c libvo/vo_v4l2.h

diego subversion at mplayerhq.hu
Sat Sep 11 16:37:12 CEST 2010


Author: diego
Date: Sat Sep 11 16:37:12 2010
New Revision: 32158

Log:
Move v4l2_fd extern declaration to vo_v4l2.h, where it belongs.

Modified:
   trunk/libao2/ao_v4l2.c
   trunk/libvo/vo_v4l2.h

Modified: trunk/libao2/ao_v4l2.c
==============================================================================
--- trunk/libao2/ao_v4l2.c	Sat Sep 11 16:31:13 2010	(r32157)
+++ trunk/libao2/ao_v4l2.c	Sat Sep 11 16:37:12 2010	(r32158)
@@ -61,8 +61,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;
 

Modified: trunk/libvo/vo_v4l2.h
==============================================================================
--- trunk/libvo/vo_v4l2.h	Sat Sep 11 16:31:13 2010	(r32157)
+++ trunk/libvo/vo_v4l2.h	Sat Sep 11 16:37:12 2010	(r32158)
@@ -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 */


More information about the MPlayer-cvslog mailing list