[MPlayer-cvslog] r31441 - in trunk/libvo: aspect.h vo_dxr2.c vo_dxr3.c

diego subversion at mplayerhq.hu
Thu Jun 17 10:17:06 CEST 2010


Author: diego
Date: Thu Jun 17 10:17:06 2010
New Revision: 31441

Log:
Factorize monitor_aspect extern declaration into aspect.h.

Modified:
   trunk/libvo/aspect.h
   trunk/libvo/vo_dxr2.c
   trunk/libvo/vo_dxr3.c

Modified: trunk/libvo/aspect.h
==============================================================================
--- trunk/libvo/aspect.h	Thu Jun 17 10:14:57 2010	(r31440)
+++ trunk/libvo/aspect.h	Thu Jun 17 10:17:06 2010	(r31441)
@@ -23,6 +23,7 @@
 extern int vo_panscan_x;
 extern int vo_panscan_y;
 extern float vo_panscan_amount;
+extern float monitor_aspect;
 
 void panscan_init(void);
 void panscan_calc(void);

Modified: trunk/libvo/vo_dxr2.c
==============================================================================
--- trunk/libvo/vo_dxr2.c	Thu Jun 17 10:14:57 2010	(r31440)
+++ trunk/libvo/vo_dxr2.c	Thu Jun 17 10:17:06 2010	(r31441)
@@ -30,6 +30,7 @@
 #include <errno.h>
 
 #include "config.h"
+#include "aspect.h"
 #include "video_out.h"
 #include "video_out_internal.h"
 #include "mp_msg.h"
@@ -43,8 +44,6 @@
 #include <dxr2ioctl.h>
 
 
-extern float monitor_aspect;
-
 int dxr2_fd = -1;
 
 static int movie_w,movie_h;

Modified: trunk/libvo/vo_dxr3.c
==============================================================================
--- trunk/libvo/vo_dxr3.c	Thu Jun 17 10:14:57 2010	(r31440)
+++ trunk/libvo/vo_dxr3.c	Thu Jun 17 10:17:06 2010	(r31441)
@@ -322,7 +322,6 @@ static int config(uint32_t width, uint32
 {
 	int tmp1, tmp2, size;
 	em8300_register_t reg;
-	extern float monitor_aspect;
 
 	/* Softzoom turned on, downscale */
 	/* This activates the subpicture processor, you can safely disable this and still send */


More information about the MPlayer-cvslog mailing list