[MPlayer-cvslog] CVS: main mplayer.c,1.884,1.885

Sascha Sommer CVS syncmail at mplayerhq.hu
Sun Nov 6 19:01:55 CET 2005


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv4360

Modified Files:
	mplayer.c 
Log Message:
there is no sh_video for audio only files

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.884
retrieving revision 1.885
diff -u -r1.884 -r1.885
--- mplayer.c	6 Nov 2005 16:16:04 -0000	1.884
+++ mplayer.c	6 Nov 2005 18:01:52 -0000	1.885
@@ -2859,7 +2859,8 @@
     case MP_CMD_SEEK : {
       float v;
       int abs;
-      osd_show_percentage = sh_video->fps;
+      if(sh_video)
+        osd_show_percentage = sh_video->fps;
       v = cmd->args[0].v.f;
       abs = (cmd->nargs > 1) ? cmd->args[1].v.i : 0;
       if(abs==2) { /* Absolute seek to a specific timestamp in seconds */




More information about the MPlayer-cvslog mailing list