From 0616f1a02a8130db6e72ac9b3fcfcb5f6623d1c8 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Wed, 8 Aug 2007 22:14:00 +0000 Subject: [PATCH] Cosmetics: Remove empty block. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24038 b3059339-0415-0410-9bf9-f77b7e298cf2 --- spudec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spudec.c b/spudec.c index 13039aeba0..c8da308beb 100644 --- a/spudec.c +++ b/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;