]> git.sesse.net Git - vlc/blobdiff - plugins/mpeg_system/mpeg_ts.c
* ./extras/MacOSX_dvdioctl: removed outdated files.
[vlc] / plugins / mpeg_system / mpeg_ts.c
index 7d12c6402694f344b0afa23b76f93f1737f0a7b7..f189e9a8739431853bfd690d603e023d45e61b4e 100644 (file)
@@ -2,7 +2,7 @@
  * mpeg_ts.c : Transport Stream input module for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: mpeg_ts.c,v 1.6 2002/03/15 17:17:35 sam Exp $
+ * $Id: mpeg_ts.c,v 1.7 2002/03/18 19:14:52 sam Exp $
  *
  * Authors: Henri Fallon <henri@via.ecp.fr>
  *
@@ -107,10 +107,10 @@ static int TSInit( input_thread_t * p_input )
 
     if( *p_peek != TS_SYNC_CODE )
     {
-        if( *p_input->psz_demux && strncmp( p_input->psz_demux, "ts", 3 ) )
+        if( *p_input->psz_demux && !strncmp( p_input->psz_demux, "ts", 3 ) )
         {
             /* User forced */
-            intf_ErrMsg( "input error: this doesn't seem like a TS stream, continuing" );
+            intf_ErrMsg( "input error: this doesn't look like a TS stream, continuing" );
         }
         else
         {