[MPlayer-cvslog] r19953 - trunk/Gui/win32/preferences.c
reimar
subversion at mplayerhq.hu
Sat Sep 23 16:34:32 CEST 2006
Author: reimar
Date: Sat Sep 23 16:34:32 2006
New Revision: 19953
Modified:
trunk/Gui/win32/preferences.c
Log:
Do not assign constant string to audio_driver_list, it is supposed
to contain malloc'd strings
Modified: trunk/Gui/win32/preferences.c
==============================================================================
--- trunk/Gui/win32/preferences.c (original)
+++ trunk/Gui/win32/preferences.c Sat Sep 23 16:34:32 2006
@@ -372,8 +372,9 @@
const ao_info_t *info = audio_out_drivers[j++]->info;
if(!audio_driver_list)
{
- gaddlist(&audio_driver_list, (char *)info->short_name);
- audio_driver_list[0] = "win32";
+ // FIXME: default priority (i.e. order in audio_out_drivers) should be fixed instead
+ // if win32 as default is really desirable
+ gaddlist(&audio_driver_list, "win32"/*(char *)info->short_name*/);
}
SendDlgItemMessage(hwnd, ID_AO_DRIVER, CB_ADDSTRING, 0, (LPARAM) info->short_name);
}
More information about the MPlayer-cvslog
mailing list