changeset 5798:89f20a0ff5cd

sorry
author pontscho
date Tue, 23 Apr 2002 14:27:27 +0000
parents c31ad722f491
children b86b20b29439
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Apr 23 13:57:41 2002 +0000
+++ b/mplayer.c	Tue Apr 23 14:27:27 2002 +0000
@@ -2218,8 +2218,9 @@
       abs = (cmd->nargs > 1) ? cmd->args[1].v.i : 0;
       if(abs) {
 	abs_seek_pos = 3;
-	osd_function= (v > sh_video->timer) ? OSD_FFW : OSD_REW;
-	rel_seek_secs = v;
+	if(sh_video)
+	  osd_function= (v > sh_video->timer) ? OSD_FFW : OSD_REW;
+	rel_seek_secs = v/100.0;
       }
       else {
 	rel_seek_secs+= v;