mirror of https://github.com/mpv-player/mpv
Cosmetics: Remove empty block.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24038 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
06c7780569
commit
0616f1a02a
5
spudec.c
5
spudec.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue