X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plugins%2Fmpeg_system%2Fmpeg_es.c;h=c64254da817b13d07b5e40969b0cd4eab98a286c;hb=d4f18c4eadb23de73e7ae1d1e2e899cbbfbef567;hp=861266f286573f083fd42cb4e795732b26fe752c;hpb=aaee289a1ea035520cb85cf25e7ba5c43ebc80b3;p=vlc diff --git a/plugins/mpeg_system/mpeg_es.c b/plugins/mpeg_system/mpeg_es.c index 861266f286..c64254da81 100644 --- a/plugins/mpeg_system/mpeg_es.c +++ b/plugins/mpeg_system/mpeg_es.c @@ -2,7 +2,7 @@ * 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 * @@ -113,10 +113,10 @@ static int ESInit( input_thread_t * p_input ) 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 { @@ -126,7 +126,7 @@ static int ESInit( input_thread_t * p_input ) } 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" );