msg_Err( p_demux, "Can not yet process muxed avi substreams without seeking" );
return VLC_EGENERIC;
}
-
+
es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_sys->i_time + 1 );
/* *** find master stream for data packet skipping algo *** */
/*****************************************************************************
* Control:
- *****************************************************************************
- *
*****************************************************************************/
static double ControlGetPosition( demux_t *p_demux )
{
return 0.0;
}
-static int Control( demux_t *p_demux, int i_query, va_list args )
+static int Control( demux_t *p_demux, int i_query, va_list args )
{
demux_sys_t *p_sys = p_demux->p_sys;
int i;
char *p_64_sps = NULL;
char *p_64_pps = NULL;
char hexa[6];
-
+
while( i_buffer > 4 &&
p_buffer[0] == 0 && p_buffer[1] == 0 &&
p_buffer[2] == 0 && p_buffer[3] == 1 )
int i_size = 0;
int i_startcode = 0;
int i_encoded = 0;
-
+
msg_Dbg( p_stream, "we found a startcode for NAL with TYPE:%d", i_nal_type );
-
+
for( i_offset = 1; i_offset+3 < i_buffer ; i_offset++)
{
if( p_buffer[i_offset] == 0 && p_buffer[i_offset+1] == 0 && p_buffer[i_offset+2] == 0 && p_buffer[i_offset+3] == 1 )