#define STANDARD_DEMUX_INIT_MSG( msg ) do { \
DEMUX_INIT_COMMON(); \
- msg_Dbg( p_demux, msg ); } while(0)
+ msg_Dbg( p_demux, "%s", msg ); } while(0)
#define DEMUX_BY_EXTENSION( ext ) \
demux_t *p_demux = (demux_t *)p_this; \
freopen( "CONOUT$", "w", stderr ); \
freopen( "CONIN$", "r", stdin ); \
} \
- msg_Info( p_intf, COPYRIGHT_MESSAGE ); \
+ msg_Info( p_intf, "%s", COPYRIGHT_MESSAGE ); \
msg_Info( p_intf, _("\nWarning: if you can't access the GUI " \
"anymore, open a command-line window, go to the " \
"directory where you installed VLC and run " \
void Logger::error( const string &rMsg )
{
- msg_Err( getIntf(), rMsg.c_str() );
+ msg_Err( getIntf(), "%s", rMsg.c_str() );
}
void Logger::warn( const string &rMsg )
{
- msg_Warn( getIntf(), rMsg.c_str() );
+ msg_Warn( getIntf(), "%s", rMsg.c_str() );
}
#endif
/* Announce who we are - Do it only for first instance ? */
- msg_Dbg( p_libvlc, COPYRIGHT_MESSAGE );
+ msg_Dbg( p_libvlc, "%s", COPYRIGHT_MESSAGE );
msg_Dbg( p_libvlc, "libvlc was configured with %s", CONFIGURE_LINE );
/* Initialize mutexes */