if test x$SYS != xmingw32; then
SSE_MODULES="imdctsse downmixsse"
fi
-ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
+ALTIVEC_MODULES="idctaltivec motionaltivec"
echo $ac_n "checking if \$CC groks MMX inline assembly""... $ac_c" 1>&6
echo "configure:5298: checking if \$CC groks MMX inline assembly" >&5
if test x$SYS != xmingw32; then
SSE_MODULES="imdctsse downmixsse"
fi
-ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
+ALTIVEC_MODULES="idctaltivec motionaltivec"
AC_CACHE_CHECK([if \$CC groks MMX inline assembly],
[ac_cv_mmx_inline],
* mpeg_ps.c : Program Stream input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: mpeg_ps.c,v 1.8 2002/03/18 19:14:52 sam Exp $
+ * $Id: mpeg_ps.c,v 1.9 2002/04/04 22:51:01 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
break;
}
}
- p_input->pf_seek( p_input, (off_t)0 );
input_AccessReinit( p_input );
+ p_input->pf_seek( p_input, (off_t)0 );
vlc_mutex_lock( &p_input->stream.stream_lock );
if( p_demux_data->b_has_PSM )
* decoders.
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: input.c,v 1.191 2002/03/18 21:04:01 xav Exp $
+ * $Id: input.c,v 1.192 2002/04/04 22:51:01 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
- * Alexis Guillard <alexis.guillard@bt.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
{
if( p_input->stream.b_seekable && p_input->pf_set_area != NULL )
{
+ input_AccessReinit( p_input );
p_input->pf_set_area( p_input, p_input->stream.p_new_area );
/* Reinitialize synchro. */
p_pgrm->i_synchro_state = SYNCHRO_REINIT;
}
-
- input_AccessReinit( p_input );
}
p_input->stream.p_new_area = NULL;
}
{
if( p_input->stream.b_seekable && p_input->pf_seek != NULL )
{
- off_t i_new_pos = p_input->stream.p_selected_area->i_seek;
+ off_t i_new_pos;
+
+ /* Reinitialize buffer manager. */
+ input_AccessReinit( p_input );
+
+ i_new_pos = p_input->stream.p_selected_area->i_seek;
vlc_mutex_unlock( &p_input->stream.stream_lock );
p_input->pf_seek( p_input, i_new_pos );
vlc_mutex_lock( &p_input->stream.stream_lock );
/* Reinitialize synchro. */
p_pgrm->i_synchro_state = SYNCHRO_REINIT;
}
-
- /* Reinitialize buffer manager. */
- input_AccessReinit( p_input );
}
p_input->stream.p_selected_area->i_seek = NO_SEEK;
}
* mpeg_system.c: TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: mpeg_system.c,v 1.87 2002/03/20 17:44:15 sam Exp $
+ * $Id: mpeg_system.c,v 1.88 2002/04/04 22:51:01 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
/* Read what we believe to be a packet header. */
PEEK( 4 );
- if( *p_peek || *(p_peek + 1) || *(p_peek + 2) != 1 )
+ if( p_peek[0] || p_peek[1] || p_peek[2] != 1 || p_peek[3] < 0xB9 )
{
- if( *p_peek || *(p_peek + 1) || *(p_peek + 2) )
+ if( p_peek[0] || p_peek[1] || p_peek[2] )
{
/* It is common for MPEG-1 streams to pad with zeros
* (although it is forbidden by the recommendation), so
* don't bother everybody in this case. */
intf_WarnMsg( 3, "input warning: garbage (0x%.2x%.2x%.2x%.2x)",
- *p_peek, *(p_peek + 1), *(p_peek + 2), *(p_peek + 3) );
+ p_peek[0], p_peek[1], p_peek[2], p_peek[3] );
}
/* This is not the startcode of a packet. Read the stream
* until we find one. */
- while( *p_peek || *(p_peek + 1) || *(p_peek + 2) != 1 )
+ while( p_peek[0] || p_peek[1] || p_peek[2] != 1 || p_peek[3] < 0xB9 )
{
p_input->p_current_data++;
PEEK( 4 );