# HG changeset patch # User diego # Date 1284216026 0 # Node ID ddb9036e140a4c99f6fc59c26d8b8b754d8555f1 # Parent 9031c664ed05a3f19a8e78f6d3cc8edd0e0217cb Move ivtv_fd extern variable declaration to vo_ivtv.h, where it belongs. diff -r 9031c664ed05 -r ddb9036e140a libao2/ao_ivtv.c --- 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; diff -r 9031c664ed05 -r ddb9036e140a libvo/vo_ivtv.h --- 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 */