diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-07 22:43:29 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-07 22:43:29 +0000 |
commit | 89e9c29affa22e42bcddfcd72db99ee22961666b (patch) | |
tree | e6f946f00e682ca30d2818158ecb88b3b866db61 /libvo | |
parent | c93c93eb260011a401bd37be59d66f379e95efdc (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.c | 2 | ||||
-rw-r--r-- | libvo/mga_common.c | 3 |
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; |