[vlc-devel] [PATCH] MKV: MKV_DEBUG is set to 0 or 1, not tested for defined()

Steve Lhomme robUx4 at videolabs.io
Fri Feb 27 16:44:07 CET 2015


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

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index ff47a2b5..f6114c2 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -85,7 +85,7 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead )
             EbmlId id = EBML_ID(EbmlVoid);
             int64_t i_pos = -1;
 
-#ifdef MKV_DEBUG
+#if MKV_DEBUG
             msg_Dbg( &sys.demuxer, "|   |   + Seek" );
 #endif
             ep->Down();
@@ -160,7 +160,7 @@ void matroska_segment_c::ParseSeekHead( KaxSeekHead *seekhead )
                     msg_Dbg( &sys.demuxer, "|   - attachments at %" PRId64, i_pos );
                     LoadSeekHeadItem( EBML_INFO(KaxAttachments), i_pos );
                 }
-#ifdef MKV_DEBUG
+#if MKV_DEBUG
                 else
                     msg_Dbg( &sys.demuxer, "|   - unknown seekhead reference at %" PRId64, i_pos );
 #endif
-- 
2.2.2




More information about the vlc-devel mailing list