diff Gui/interface.c @ 18533:6b92a27e247c

also set guiIntfStruct.sh_video to NULL for guiSetDefaults. Avoids a crash at end of playback for skins using $C.
author reimar
date Wed, 17 May 2006 17:29:06 +0000
parents d30afd14867f
children bee3186a06f7
line wrap: on
line diff
--- a/Gui/interface.c	Wed May 17 14:49:44 2006 +0000
+++ b/Gui/interface.c	Wed May 17 17:29:06 2006 +0000
@@ -739,6 +739,7 @@
 	  force_fps=0;
 	 }				
 	guiIntfStruct.demuxer=NULL;
+	guiIntfStruct.sh_video=NULL;
 	wsPostRedisplay( &appMPlayer.subWindow );
 	break;
    case guiSetParameters: