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

KO Myung-Hun git at videolan.org
Thu Oct 18 15:06:34 CEST 2012


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Wed Oct 17 18:01:53 2012 +0900| [b8c18aec7fe47e424384702415794167dd131932] | committer: Jean-Baptiste Kempf

mkv: fix the problem that mkv is not played on OS/2

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

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 )
     {



More information about the vlc-commits mailing list