# include "config.h"
#endif
+#include <assert.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
{
if( var_GetBool( p_aout->p_libvlc, "alsa-working" ) )
dialog_FatalWait( p_aout, "ALSA version problem",
- "VLC failed to re-open your sound card.\n"
+ "VLC failed to re-initialize your sound output device.\n"
"Please update alsa-lib to version 1.0.22 or higher "
"to fix this issue." );
}
break;
}
- p_item->ppsz_list =
- (char **)realloc( p_item->ppsz_list,
+ p_item->ppsz_list = xrealloc( p_item->ppsz_list,
(p_item->i_list + 2) * sizeof(char *) );
- p_item->ppsz_list_text =
- (char **)realloc( p_item->ppsz_list_text,
+ p_item->ppsz_list_text = xrealloc( p_item->ppsz_list_text,
(p_item->i_list + 2) * sizeof(char *) );
p_item->ppsz_list[ p_item->i_list ] = psz_device;
p_item->ppsz_list_text[ p_item->i_list ] = psz_descr;