summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dga.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-30 18:05:49 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-30 18:05:49 +0000
commita0fce62fd3eb70d1431d15c9b0a39042b4fc65cd (patch)
tree6742f3f8d8f3d0147aeb8e25e4c07b8c464497fc /libvo/vo_dga.c
parenteb4bffb0b6299697aed196f778218367d33d64ad (diff)
downloadmpv-a0fce62fd3eb70d1431d15c9b0a39042b4fc65cd.tar.bz2
mpv-a0fce62fd3eb70d1431d15c9b0a39042b4fc65cd.tar.xz
warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10213 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dga.c')
-rw-r--r--libvo/vo_dga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index 458b4a856e..ac3cdccaaf 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -497,6 +497,7 @@ static int check_res( int num, int x, int y, int bpp,
// 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 @@ static int check_res( int num, int x, int y, int bpp,
new_vbi >= 50
)
)
+ )
||
// if everything is equal, then use the mode with the lower
// stride