{
demux_t *p_demux = (demux_t *)p_this;
demux_sys_t *p_sys;
+ byte_t *p_peek;
+ int i_size;
p_demux->pf_demux = Demux;
p_demux->pf_control = Control;
/* Lets check the content to see if this is a sgi mediabase file */
- byte_t *p_peek;
- int i_size = stream_Peek( p_demux->s, &p_peek, MAX_LINE );
+ i_size = stream_Peek( p_demux->s, &p_peek, MAX_LINE );
i_size -= sizeof("sgiNameServerHost=") - 1;
if ( i_size > 0 ) {
while ( i_size
int i_oldindex = p_playlist->i_index;
vlc_bool_t b_random, b_repeat, b_loop;
vlc_value_t val;
+ int i_count;
/* If the playlist is empty, there is no current item */
if( p_playlist->i_size == 0 )
if( b_random )
{
srand( (unsigned int)mdate() );
- int i_count = 0;
+ i_count = 0;
while( i_count < p_playlist->i_size )
{
p_playlist->i_index =