# HG changeset patch # User alex # Date 1054317949 0 # Node ID d358fa9a10685efa6acd4c56782a547b1819ed7e # Parent 4bc481804519d8d91e9c69285a7db148dcb1aa8c warning fixes by Dominik Mierzejewski diff -r 4bc481804519 -r d358fa9a1068 libvo/vo_dga.c --- a/libvo/vo_dga.c Fri May 30 17:57:41 2003 +0000 +++ b/libvo/vo_dga.c Fri May 30 18:05:49 2003 +0000 @@ -497,6 +497,7 @@ // as long as it's above 50 Hz (acki2 on 30/3/2001) || ( + ( (new_x == *old_x) && (new_y == *old_y) && ( @@ -510,6 +511,7 @@ new_vbi >= 50 ) ) + ) || // if everything is equal, then use the mode with the lower // stride diff -r 4bc481804519 -r d358fa9a1068 libvo/vo_x11.c --- a/libvo/vo_x11.c Fri May 30 17:57:41 2003 +0000 +++ b/libvo/vo_x11.c Fri May 30 18:05:49 2003 +0000 @@ -262,7 +262,7 @@ depth = vo_find_depth_from_visuals(mDisplay, mScreen, &visual); } if ( !XMatchVisualInfo( mDisplay,mScreen,depth,DirectColor,&vinfo ) || - WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual)) + (WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual))) XMatchVisualInfo( mDisplay,mScreen,depth,TrueColor,&vinfo ); /* set image size (which is indeed neither the input nor output size), diff -r 4bc481804519 -r d358fa9a1068 libvo/x11_common.c --- a/libvo/x11_common.c Fri May 30 17:57:41 2003 +0000 +++ b/libvo/x11_common.c Fri May 30 18:05:49 2003 +0000 @@ -105,6 +105,8 @@ XF86VidModeModeLine modeline; #endif +int vo_x11_get_fs_type( int supported ); + void vo_hidecursor ( Display *disp , Window win ) { Cursor no_ptr;