[vlc-commits] Mkv: use MKV_IS_ID and avoid EbmlId() operator use

Jean-Baptiste Kempf git at videolan.org
Sun Jan 30 20:42:13 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 30 20:41:10 2011 +0100| [5e67eccf2b4a53cc2a1cfc76e31ddfe6214712c6] | committer: Jean-Baptiste Kempf

Mkv: use MKV_IS_ID and avoid EbmlId() operator use

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

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

diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
index 025f166..1512c2d 100644
--- a/modules/demux/mkv/demux.cpp
+++ b/modules/demux/mkv/demux.cpp
@@ -93,7 +93,7 @@ matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlS
 
     while (p_l0 != 0)
     {
-        if (EbmlId(*p_l0) == KaxSegment::ClassInfos.GlobalId)
+        if ( MKV_IS_ID( p_l0, KaxSegment) )
         {
             EbmlParser  *ep;
             matroska_segment_c *p_segment1 = new matroska_segment_c( *this, *p_estream );



More information about the vlc-commits mailing list