[MPlayer-cvslog] r24038 - trunk/spudec.c

cehoyos subversion at mplayerhq.hu
Thu Aug 9 00:14:01 CEST 2007


Author: cehoyos
Date: Thu Aug  9 00:14:00 2007
New Revision: 24038

Log:
Cosmetics: Remove empty block.

Modified:
   trunk/spudec.c

Modified: trunk/spudec.c
==============================================================================
--- trunk/spudec.c	(original)
+++ trunk/spudec.c	Thu Aug  9 00:14:00 2007
@@ -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;



More information about the MPlayer-cvslog mailing list