changeset 32076:8ffbdf8429d8

Move dxr2_fd extern variable declaration to vo_dxr2.h, where it belongs.
author diego
date Sat, 11 Sep 2010 14:43:06 +0000
parents ddb9036e140a
children db0bb7511440
files libao2/ao_dxr2.c libvo/vo_dxr2.h
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_dxr2.c	Sat Sep 11 14:40:26 2010 +0000
+++ b/libao2/ao_dxr2.c	Sat Sep 11 14:43:06 2010 +0000
@@ -34,6 +34,7 @@
 #include "audio_out_internal.h"
 #include "libaf/af_format.h"
 #include "libmpdemux/mpeg_packetizer.h"
+#include "libvo/vo_dxr2.h"
 #include "libvo/video_out.h"
 
 
@@ -49,7 +50,6 @@
 
 static int volume=19;
 static int last_freq_id = -1;
-extern int dxr2_fd;
 
 // to set/get/query special features/parameters
 static int control(int cmd,void *arg){
--- a/libvo/vo_dxr2.h	Sat Sep 11 14:40:26 2010 +0000
+++ b/libvo/vo_dxr2.h	Sat Sep 11 14:43:06 2010 +0000
@@ -21,6 +21,8 @@
 
 #include "m_option.h"
 
+extern int dxr2_fd;
+
 extern const m_option_t dxr2_opts[];
 
 #endif /* MPLAYER_VO_DXR2_H */