[MPlayer-cvslog] r38517 - trunk/gui/dialog/preferences.c
ib
subversion at mplayerhq.hu
Sun May 12 19:52:42 EEST 2024
Author: ib
Date: Sun May 12 19:52:42 2024
New Revision: 38517
Log:
Fix audio driver pointing to freed data.
If no audio driver is selected, ao_driver[0] must no longer point to a
(previously) deleted driver list.
Modified:
trunk/gui/dialog/preferences.c
Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c Sun May 12 19:51:17 2024 (r38516)
+++ trunk/gui/dialog/preferences.c Sun May 12 19:52:42 2024 (r38517)
@@ -1261,6 +1261,7 @@ void ShowPreferences( void )
!strncmp( ao_driver[0],"sdl",3 ) )
gtk_widget_set_sensitive( AConfig,TRUE );
}
+ else ao_driver[0] = NULL;
}
/* 2nd page */
More information about the MPlayer-cvslog
mailing list