diff mplayer.c @ 1727:9da2b587b029

changes according to OSD calculations
author atlka
date Tue, 28 Aug 2001 14:22:37 +0000
parents 38871427a131
children d6c99f70449e
line wrap: on
line diff
--- a/mplayer.c	Tue Aug 28 12:43:41 2001 +0000
+++ b/mplayer.c	Tue Aug 28 14:22:37 2001 +0000
@@ -1759,11 +1759,11 @@
         // Set OSD:
       if(osd_level){
         int len=((demuxer->movi_end-demuxer->movi_start)>>8);
-        if(len>0){
-          osd_visible=sh_video->fps; // 1 sec
-          vo_osd_progbar_type=0;
-	  vo_osd_progbar_value=(demuxer->filepos-demuxer->movi_start)/len;
-        }
+        if (len>0){
+	   osd_visible=sh_video->fps; // 1 sec
+	   vo_osd_progbar_type=0;
+	   vo_osd_progbar_value=(demuxer->filepos-demuxer->movi_start)/len;
+	}
       }
 #endif