[MPlayer-cvslog] r32159 - in trunk: libao2/ao_ivtv.c libvo/vo_ivtv.h

diego subversion at mplayerhq.hu
Sat Sep 11 16:40:26 CEST 2010


Author: diego
Date: Sat Sep 11 16:40:26 2010
New Revision: 32159

Log:
Move ivtv_fd extern variable declaration to vo_ivtv.h, where it belongs.

Modified:
   trunk/libao2/ao_ivtv.c
   trunk/libvo/vo_ivtv.h

Modified: trunk/libao2/ao_ivtv.c
==============================================================================
--- trunk/libao2/ao_ivtv.c	Sat Sep 11 16:37:12 2010	(r32158)
+++ trunk/libao2/ao_ivtv.c	Sat Sep 11 16:40:26 2010	(r32159)
@@ -64,8 +64,6 @@ control (int cmd,void *arg)
 static int
 init (int rate, int channels, int format, int flags)
 {
-  extern int ivtv_fd;
-
   if (ivtv_fd < 0)
     return 0;
 

Modified: trunk/libvo/vo_ivtv.h
==============================================================================
--- trunk/libvo/vo_ivtv.h	Sat Sep 11 16:37:12 2010	(r32158)
+++ trunk/libvo/vo_ivtv.h	Sat Sep 11 16:40:26 2010	(r32159)
@@ -27,6 +27,8 @@
 #ifndef MPLAYER_VO_IVTV_H
 #define MPLAYER_VO_IVTV_H
 
+extern int ivtv_fd;
+
 int ivtv_write(const unsigned char *data, int len);
 
 #endif /* MPLAYER_VO_IVTV_H */


More information about the MPlayer-cvslog mailing list