[MPlayer-cvslog] r36877 - trunk/gui/dialog/menu.c
ib
subversion at mplayerhq.hu
Mon Feb 17 23:34:27 CET 2014
Author: ib
Date: Mon Feb 17 23:34:27 2014
New Revision: 36877
Log:
Check demuxer to avoid NULL pointer usage.
Modified:
trunk/gui/dialog/menu.c
Modified: trunk/gui/dialog/menu.c
==============================================================================
--- trunk/gui/dialog/menu.c Mon Feb 17 15:36:16 2014 (r36876)
+++ trunk/gui/dialog/menu.c Mon Feb 17 23:34:27 2014 (r36877)
@@ -744,7 +744,7 @@ GtkWidget * CreatePopUpMenu( void )
}
}
/* embedded (demuxer) */
- else if ( i >= subs0 + subs1 )
+ else if ( ( i >= subs0 + subs1 ) && demuxer )
{
for ( j=0;j < MAX_S_STREAMS;j++ )
{
More information about the MPlayer-cvslog
mailing list