[vlc-commits] the ID could be OK but the class mismatching
Steve Lhomme
git at videolan.org
Sun Jan 30 13:21:01 CET 2011
vlc | branch: master | Steve Lhomme <slhomme at matroska.org> | Sat Jan 29 14:27:43 2011 +0100| [59491dcedffbf97612d2c572943b56ee4289dd07] | committer: Rémi Denis-Courmont
the ID could be OK but the class mismatching
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=59491dcedffbf97612d2c572943b56ee4289dd07
---
modules/demux/mkv/mkv.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/mkv/mkv.hpp b/modules/demux/mkv/mkv.hpp
index f0e87c6..664cafa 100644
--- a/modules/demux/mkv/mkv.hpp
+++ b/modules/demux/mkv/mkv.hpp
@@ -115,7 +115,7 @@ extern "C" {
#define MKVD_TIMECODESCALE 1000000
-#define MKV_IS_ID( el, C ) ( EbmlId( (*el) ) == C::ClassInfos.GlobalId )
+#define MKV_IS_ID( el, C ) ( el != NULL && typeid( *el ) == typeid( C ) )
using namespace LIBMATROSKA_NAMESPACE;
More information about the vlc-commits
mailing list