[vlc-devel] [PATCH] mkv: fix the problem that mkv is not played on OS/2

KO Myung-Hun komh78 at gmail.com
Wed Oct 17 11:01:53 CEST 2012


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

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 17bfb11..9d0fb30 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -830,7 +830,8 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
         }
     }
 
-#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__)
+#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && \
+    !defined(__OS2__)
     /* Don't try complex seek if we seek to 0 */
     if( i_date == 0 && i_time_offset == 0 )
     {
-- 
1.7.3.2




More information about the vlc-devel mailing list