(If you don't want to give an object, then use fprintf() really...)
const char *psz_module,
const char *psz_format, va_list _args )
{
+ assert (p_this);
libvlc_priv_t *priv = libvlc_priv (p_this->p_libvlc);
int i_header_size; /* Size of the additionnal header */
vlc_object_t *p_obj;
int i_size = strlen(psz_format) + INTF_MAX_MSG_SIZE;
#endif
- if( p_this == NULL )
- {
-#ifndef NDEBUG
- if( i_type == VLC_MSG_DBG )
- return;
-#endif
- utf8_vfprintf( stderr, psz_format, _args );
- fputc ('\n', stderr);
- return;
- }
-
if( p_this->i_flags & OBJECT_FLAGS_QUIET ||
(p_this->i_flags & OBJECT_FLAGS_NODBG && i_type == VLC_MSG_DBG) )
return;