*
* Get the char * name of an event type.
**************************************************************************/
-static const char * event_type_to_name[] =
+static const char event_type_to_name[][35] =
{
#define EVENT(a) [a]=#a
EVENT(libvlc_MediaMetaChanged),
#undef EVENT
};
-static const char * unkwown_event_name = "Unknown Event";
+static const char unkwown_event_name[] = "Unknown Event";
const char * libvlc_event_type_name( libvlc_event_type_t event_type )
{
VLC_FOURCC('c', 'c', '3', ' '),
VLC_FOURCC('c', 'c', '4', ' '),
};
- static const char *ppsz_description[4] = {
+ static const char ppsz_description[4][18] = {
N_("Closed captions 1"),
N_("Closed captions 2"),
N_("Closed captions 3"),
} vlc_event_listeners_group_t;
#ifdef DEBUG_EVENT
-static const char * ppsz_event_type_to_name[] =
+static const char ppsz_event_type_to_name[][33] =
{
[vlc_InputItemMetaChanged] = "vlc_InputItemMetaChanged",
[vlc_InputItemSubItemAdded] = "vlc_InputItemSubItemAdded",
#ifdef UNDER_CE
int i_dummy;
#endif
- static const char * ppsz_type[4] = { "", " error", " warning", " debug" };
- static const char *ppsz_color[4] = { WHITE, RED, YELLOW, GRAY };
+ static const char ppsz_type[4][9] = { "", " error", " warning", " debug" };
+ static const char ppsz_color[4][8] = { WHITE, RED, YELLOW, GRAY };
const char *psz_object;
libvlc_priv_t *priv = libvlc_priv (p_this->p_libvlc);
int i_type = p_item->i_type;
{ 0, NULL }
};
-static const char *__gai_unknownerr = "Unrecognized error number";
+static const char __gai_unknownerr[] = "Unrecognized error number";
/****************************************************************************
* Converts an EAI_* error code into human readable english text.