aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-07 22:43:29 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-07 22:43:29 +0000
commit89e9c29affa22e42bcddfcd72db99ee22961666b (patch)
treee6f946f00e682ca30d2818158ecb88b3b866db61 /libvo
parentc93c93eb260011a401bd37be59d66f379e95efdc (diff)
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6336 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/aspect.c2
-rw-r--r--libvo/mga_common.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/libvo/aspect.c b/libvo/aspect.c
index be5d8949c7..c66e1f2f6c 100644
--- a/libvo/aspect.c
+++ b/libvo/aspect.c
@@ -101,7 +101,7 @@ void panscan_init( void )
void panscan_calc( void )
{
- int vo_panscan_area = (vo_screenheight-vo_dheight);
+ int vo_panscan_area = (aspdat.scrh-vo_dheight);
vo_panscan_amount = vo_fs ? vo_panscan : 0;
vo_panscan_x = vo_panscan_area * vo_panscan_amount * aspdat.asp;
vo_panscan_y = vo_panscan_area * vo_panscan_amount;
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 7da081f1be..16ddc390aa 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -4,6 +4,9 @@
#include "../postproc/rgb2rgb.h"
// mga_vid drawing functions
+#ifdef VO_XMGA
+static void set_window( int ps ); /* forward declaration to kill warnings */
+#endif
static int mga_next_frame=0;