summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index e30cb4389c..df48cb5dca 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2219,7 +2219,7 @@ if(curr_filename+1<num_filenames || use_gui){
if(use_gui || ++curr_filename<num_filenames
#if defined( HAVE_NEW_GUI ) && defined( USE_DVDREAD )
- || mplShMem->DVDChanged
+ || (mplShMem && mplShMem->DVDChanged)
#endif
){