[Mplayer-cvslog] CVS: main mplayer.c,1.799,1.800

Reimar Döffinger CVS syncmail at mplayerhq.hu
Tue Oct 26 11:32:54 CEST 2004


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	mplayer.c 
Log Message:
cmd can be NULL when leaving the paused mode and using the GUI


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.799
retrieving revision 1.800
diff -u -r1.799 -r1.800
--- mplayer.c	23 Oct 2004 18:57:06 -0000	1.799
+++ mplayer.c	26 Oct 2004 09:32:51 -0000	1.800
@@ -2506,7 +2506,7 @@
 #endif
              usec_sleep(20000);
          }
-      if (cmd->id == MP_CMD_PAUSE) {
+      if (cmd && cmd->id == MP_CMD_PAUSE) {
       cmd = mp_input_get_cmd(0,1,0);
       mp_cmd_free(cmd);
       }




More information about the MPlayer-cvslog mailing list