Mercurial > mplayer.hg
changeset 24018:866dd391dda3
Cosmetics: Remove empty block.
author | cehoyos |
---|---|
date | Wed, 08 Aug 2007 22:14:00 +0000 |
parents | d7bd74869672 |
children | 27eeab564338 |
files | spudec.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/spudec.c Wed Aug 08 21:47:36 2007 +0000 +++ b/spudec.c Wed Aug 08 22:14:00 2007 +0000 @@ -1074,11 +1074,8 @@ 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;