]> git.sesse.net Git - vlc/commitdiff
MKV: MKV_DEBUG is a define to set, not a particular value
authorSteve Lhomme <robUx4@videolabs.io>
Mon, 2 Mar 2015 08:15:57 +0000 (08:15 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 8 Mar 2015 22:52:17 +0000 (23:52 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/virtual_segment.cpp
modules/demux/mkv/virtual_segment.hpp

index a41abb84fc580093b595ac7908d000be8df32e51..d9d0dc0a6db7e86f9ab50ac34cb9aeb43abeca65 100644 (file)
@@ -207,7 +207,7 @@ virtual_edition_c::virtual_edition_c( chapter_edition_c * p_edit, std::vector<ma
             b_ordered = true;
     }
 
-#if MKV_DEBUG
+#ifdef MKV_DEBUG
     msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-BEGIN --" );
     print();
     msg_Dbg( &p_main_segment->sys.demuxer, "-- RECAP-END --" );
@@ -610,7 +610,7 @@ bool virtual_chapter_c::Leave( bool b_do_subs )
     return false;
 }
 
-#if MKV_DEBUG
+#ifdef MKV_DEBUG
 void virtual_chapter_c::print()
 {
     msg_Dbg( &p_segment->sys.demuxer, "*** chapter %"PRId64" - %"PRId64" (%u)",
index ed40e597269873560ca58774fce853b912327e65..46e9df27edcef993f8cc2d8bb0da10cfe341d9a1 100644 (file)
@@ -72,7 +72,7 @@ public:
     int64_t             i_virtual_stop_time;
     int                 i_seekpoint_num;
     std::vector<virtual_chapter_c *> sub_chapters;
-#if MKV_DEBUG
+#ifdef MKV_DEBUG
     void print();
 #endif
 };
@@ -101,7 +101,7 @@ public:
 private:
     void retimeChapters();
     void retimeSubChapters( virtual_chapter_c * p_vchap );
-#if MKV_DEBUG
+#ifdef MKV_DEBUG
     void print(){ for( size_t i = 0; i<chapters.size(); i++ ) chapters[i]->print(); }
 #endif