Commit 32167b7e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Repack libvlc internal data

parent c5dac996
...@@ -172,7 +172,7 @@ typedef struct libvlc_priv_t ...@@ -172,7 +172,7 @@ typedef struct libvlc_priv_t
bool playlist_active; bool playlist_active;
/* Messages */ /* Messages */
int i_verbose; ///< info messages signed char i_verbose; ///< info messages
bool b_color; ///< color messages? bool b_color; ///< color messages?
bool b_stats; ///< Whether to collect stats bool b_stats; ///< Whether to collect stats
......
...@@ -255,7 +255,7 @@ static const char msg_color[4][8] = { WHITE, RED, YELLOW, GRAY }; ...@@ -255,7 +255,7 @@ static const char msg_color[4][8] = { WHITE, RED, YELLOW, GRAY };
static void PrintColorMsg (void *d, int type, const msg_item_t *p_item, static void PrintColorMsg (void *d, int type, const msg_item_t *p_item,
const char *format, va_list ap) const char *format, va_list ap)
{ {
const int *pverbose = d; const signed char *pverbose = d;
FILE *stream = stderr; FILE *stream = stderr;
if (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR)) if (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR))
...@@ -281,7 +281,7 @@ static void PrintColorMsg (void *d, int type, const msg_item_t *p_item, ...@@ -281,7 +281,7 @@ static void PrintColorMsg (void *d, int type, const msg_item_t *p_item,
static void PrintMsg (void *d, int type, const msg_item_t *p_item, static void PrintMsg (void *d, int type, const msg_item_t *p_item,
const char *format, va_list ap) const char *format, va_list ap)
{ {
const int *pverbose = d; const signed char *pverbose = d;
FILE *stream = stderr; FILE *stream = stderr;
if (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR)) if (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment