* mpeg_es.c : Elementary Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: mpeg_es.c,v 1.5 2002/03/15 17:17:35 sam Exp $
+ * $Id: mpeg_es.c,v 1.6 2002/03/18 19:14:52 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
if( *p_peek || *(p_peek + 1) || *(p_peek + 2) != 1 )
{
- if( *p_input->psz_demux && strncmp( p_input->psz_demux, "es", 3 ) )
+ if( *p_input->psz_demux && strncmp( !p_input->psz_demux, "es", 3 ) )
{
/* User forced */
- intf_ErrMsg( "input error: this doesn't seem like an MPEG stream, continuing" );
+ intf_ErrMsg( "input error: this doesn't look like an MPEG ES stream, continuing" );
}
else
{
}
else if( *(p_peek + 3) > 0xb9 )
{
- if( *p_input->psz_demux && strncmp( p_input->psz_demux, "es", 3 ) )
+ if( *p_input->psz_demux && strncmp( !p_input->psz_demux, "es", 3 ) )
{
/* User forced */
intf_ErrMsg( "input error: this seems to be a system stream (PS plug-in ?), but continuing" );