]> git.sesse.net Git - vlc/blobdiff - plugins/mpeg_system/mpeg_es.c
* ./extras/MacOSX_dvdioctl: removed outdated files.
[vlc] / plugins / mpeg_system / mpeg_es.c
index 861266f286573f083fd42cb4e795732b26fe752c..c64254da817b13d07b5e40969b0cd4eab98a286c 100644 (file)
@@ -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 <massiot@via.ecp.fr>
  *
@@ -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" );