Cosmetics: Remove empty block.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24038 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2007-08-08 22:14:00 +00:00
parent 06c7780569
commit 0616f1a02a
1 changed files with 1 additions and 4 deletions

View File

@ -1074,11 +1074,8 @@ nothing_to_do:
break;
case 1:
spu->scaled_start_row = dys*sub_pos/100 - spu->scaled_height/2;
if (sub_pos < 50) {
} else {
if (spu->scaled_start_row + spu->scaled_height > dys)
if (sub_pos >= 50 && spu->scaled_start_row + spu->scaled_height > dys)
spu->scaled_start_row = dys - spu->scaled_height;
}
break;
case 2:
spu->scaled_start_row = dys*sub_pos/100 - spu->scaled_height;