[matroska] r1066 - trunk/libebml/src

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-02-06 00:34:26 +0300 (Sun, 06 Feb 2005)
New Revision: 1066

Modified:
   trunk/libebml/src/EbmlBinary.cpp
Log:
libebml: the previous commit had was b0rked

Modified: trunk/libebml/src/EbmlBinary.cpp
===================================================================
--- trunk/libebml/src/EbmlBinary.cpp	2005-02-05 21:30:28 UTC (rev 1065)
+++ trunk/libebml/src/EbmlBinary.cpp	2005-02-05 21:34:26 UTC (rev 1066)
@@ -98,7 +98,7 @@
 
 bool EbmlBinary::operator==(const EbmlBinary & ElementToCompare)
 {
-	return ((Size == ElementToCompare.Size) && memcmp(Data, ElementToCompare.Data, Size));
+	return ((Size == ElementToCompare.Size) && !memcmp(Data, ElementToCompare.Data, Size));
 }
 
 END_LIBEBML_NAMESPACE
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.