# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_input.h>
#include <vlc_codec.h>
if( ( p_dec->p_sys = p_sys =
(decoder_sys_t *)malloc(sizeof(decoder_sys_t)) ) == NULL )
{
- msg_Err( p_dec, "out of memory" );
return VLC_EGENERIC;
}
vlc_object_release( p_input );
/* initialise the CMML responder interface */
- p_sys->p_intf = intf_Create( p_dec, "cmml", 0, NULL );
+ p_sys->p_intf = intf_Create( p_dec, "cmml" );
intf_RunThread( p_sys->p_intf );
return VLC_SUCCESS;
intf_StopThread( p_intf );
vlc_object_detach( p_intf );
vlc_object_release( p_intf );
- intf_Destroy( p_intf );
+ vlc_object_release( p_intf );
}
p_sys->p_intf = NULL;