changeset 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 fe17e7634db1
children cbcea803efa1
files Gui/interface.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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: