static int Open ( vlc_object_t * );
static void Close ( vlc_object_t * );
-vlc_module_begin();
- set_description( N_("Real demuxer" ) );
- set_capability( "demux", 0 );
- set_category( CAT_INPUT );
- set_subcategory( SUBCAT_INPUT_DEMUX );
- set_callbacks( Open, Close );
- add_shortcut( "real" );
- add_shortcut( "rm" );
-vlc_module_end();
+vlc_module_begin ()
+ set_description( N_("Real demuxer" ) )
+ set_capability( "demux", 0 )
+ set_category( CAT_INPUT )
+ set_subcategory( SUBCAT_INPUT_DEMUX )
+ set_callbacks( Open, Close )
+ add_shortcut( "real" )
+ add_shortcut( "rm" )
+vlc_module_end ()
/*****************************************************************************
* Local prototypes
p_sys->p_index =
(rm_index_t *)malloc( sizeof( rm_index_t ) * (i_index_count+1) );
if( p_sys->p_index == NULL )
- {
- msg_Err( p_demux, "Memory allocation error" );
return;
- }
memset( p_sys->p_index, 0, sizeof(rm_index_t) * (i_index_count+1) );