summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libao2/ao_ivtv.c2
-rw-r--r--libvo/vo_ivtv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libao2/ao_ivtv.c b/libao2/ao_ivtv.c
index 3b5e8dc730..540bc2f38a 100644
--- a/libao2/ao_ivtv.c
+++ b/libao2/ao_ivtv.c
@@ -62,8 +62,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;
diff --git a/libvo/vo_ivtv.h b/libvo/vo_ivtv.h
index d9e7a76022..da957b4a70 100644
--- a/libvo/vo_ivtv.h
+++ b/libvo/vo_ivtv.h
@@ -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 */