# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <vlc_demux.h>
#include <vlc_codec.h>
vlc_module_begin();
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_DEMUX );
- set_description( _("Raw A/52 demuxer") );
+ set_description( N_("Raw A/52 demuxer") );
set_capability( "demux", 145 );
set_callbacks( Open, Close );
add_shortcut( "a52" );
{
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys;
- const byte_t*p_peek;
+ const uint8_t *p_peek;
int i_peek = 0;
bool b_big_endian = 0; /* Arbitrary initialisation */
#else
int i;
- byte_t *p_tmp, tmp;
+ uint8_t *p_tmp, tmp;
p_tmp = p_block_in->p_buffer;
for( i = p_block_in->i_buffer / 2 ; i-- ; )
{
if( p_block_out->i_length )
{
p_sys->i_mux_rate =
- p_block_out->i_buffer * I64C(1000000)/p_block_out->i_length;
+ p_block_out->i_buffer * INT64_C(1000000)/p_block_out->i_length;
}
/* set PCR */