[vlc-devel] commit: mkv: inverted test case. This should remove a warning we would see on each MKV file ( Derk-Jan Hartman )

git version control git at videolan.org
Wed Aug 13 22:27:53 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Tue Aug 12 13:39:06 2008 +0200| [025ab1ceb5d9330d89f7c8487fe6e0b9f00d03b4] | committer: Derk-Jan Hartman 

mkv: inverted test case. This should remove a warning we would see on each MKV file

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=025ab1ceb5d9330d89f7c8487fe6e0b9f00d03b4
---

 modules/demux/mkv.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mkv.cpp b/modules/demux/mkv.cpp
index 2f73619..b1ee117 100644
--- a/modules/demux/mkv.cpp
+++ b/modules/demux/mkv.cpp
@@ -1486,7 +1486,7 @@ static int Open( vlc_object_t * p_this )
     }
 
     p_segment = p_stream->segments[0];
-    if( p_segment->cluster != NULL )
+    if( p_segment->cluster == NULL )
     {
         msg_Warn( p_demux, "cannot find any cluster, damaged file ?" );
 




More information about the vlc-devel mailing list