[MPlayer-cvslog] r35719 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Thu Jan 10 11:36:43 CET 2013


Author: ib
Date: Thu Jan 10 11:36:43 2013
New Revision: 35719

Log:
Don't unconditionally set gtkDXR3Device.

Without CONFIG_DXR3 it's not part of gui_opts[]
and won't get freed then.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Jan 10 11:01:52 2013	(r35718)
+++ trunk/gui/interface.c	Thu Jan 10 11:36:43 2013	(r35719)
@@ -85,8 +85,10 @@ void guiInit(void)
         cdrom_device = strdup(DEFAULT_CDROM_DEVICE);
     if (!dvd_device)
         dvd_device = strdup(DEFAULT_DVD_DEVICE);
+#ifdef CONFIG_DXR3
     if (!gtkDXR3Device)
         gtkDXR3Device = strdup("/dev/em8300-0");
+#endif
 
     if (stream_cache_size > 0) {
         gtkCacheOn   = True;


More information about the MPlayer-cvslog mailing list