changeset 32075:ddb9036e140a

Move ivtv_fd extern variable declaration to vo_ivtv.h, where it belongs.
author diego
date Sat, 11 Sep 2010 14:40:26 +0000
parents 9031c664ed05
children 8ffbdf8429d8
files libao2/ao_ivtv.c libvo/vo_ivtv.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_ivtv.c	Sat Sep 11 14:37:12 2010 +0000
+++ b/libao2/ao_ivtv.c	Sat Sep 11 14:40:26 2010 +0000
@@ -64,8 +64,6 @@
 static int
 init (int rate, int channels, int format, int flags)
 {
-  extern int ivtv_fd;
-
   if (ivtv_fd < 0)
     return 0;
 
--- a/libvo/vo_ivtv.h	Sat Sep 11 14:37:12 2010 +0000
+++ b/libvo/vo_ivtv.h	Sat Sep 11 14:40:26 2010 +0000
@@ -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 */