# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <vlc_demux.h>
-#include <vlc_playlist.h>
#include <ctype.h>
#define MAX_LINE 16024
static int DemuxOpen ( vlc_object_t * );
static void DemuxClose ( vlc_object_t * );
-vlc_module_begin();
- set_description( _("Windows Media NSC metademux") );
- set_category( CAT_INPUT );
- set_subcategory( SUBCAT_INPUT_DEMUX );
- set_capability( "demux", 3 );
- set_callbacks( DemuxOpen, DemuxClose );
-vlc_module_end();
+vlc_module_begin ()
+ set_description( N_("Windows Media NSC metademux") )
+ set_category( CAT_INPUT )
+ set_subcategory( SUBCAT_INPUT_DEMUX )
+ set_capability( "demux", 3 )
+ set_callbacks( DemuxOpen, DemuxClose )
+vlc_module_end ()
static int Demux ( demux_t *p_demux );
static int Control( demux_t *p_demux, int i_query, va_list args );
buf16_size = length;
buf16 = malloc( buf16_size );
if( buf16 == NULL )
- {
- msg_Err( p_demux, "out of memory" );
return NULL;
- }
for( i = 0; i < length; i++ )
{
buf8 = malloc( buf8_size + 1 );
if( buf8 == NULL )
{
- msg_Err( p_demux, "out of memory" );
free( buf16 );
return NULL;
}
*****************************************************************************/
static void DemuxClose( vlc_object_t *p_this )
{
+ VLC_UNUSED( p_this );
return;
}
static int Control( demux_t *p_demux, int i_query, va_list args )
{
+ VLC_UNUSED( p_demux ); VLC_UNUSED( i_query ); VLC_UNUSED( args );
+ //FIXME
return VLC_EGENERIC;
}