[vlc-commits] [Git][videolan/vlc][master] demux: mkv: allow reading v3 and v4 files

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue May 24 10:09:11 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
6fd29e31 by Steve Lhomme at 2022-05-24T09:51:54+00:00
demux: mkv: allow reading v3 and v4 files

There's no requirement in v3 and v4 that we don't support.
v5 doesn't exist yet.

Ref. #26999

- - - - -


1 changed file:

- modules/demux/mkv/demux.cpp


Changes:

=====================================
modules/demux/mkv/demux.cpp
=====================================
@@ -79,9 +79,9 @@ bool demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, matroska_stream_c *
     }
 
     EDocTypeReadVersion doc_read_version = GetChild<EDocTypeReadVersion>(*static_cast<EbmlHead*>(p_l0));
-    if (uint64(doc_read_version) > 2)
+    if (uint64(doc_read_version) > 5)
     {
-        msg_Err( p_demux, "matroska file needs version %" PRId64 " but only versions 1 & 2 supported", uint64(doc_read_version));
+        msg_Err( p_demux, "matroska file needs version %" PRId64 " but only versions 1 to 4 supported", uint64(doc_read_version));
         return false;
     }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6fd29e31d7b7166411fa11b2b84d1a865cc4ee3d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6fd29e31d7b7166411fa11b2b84d1a865cc4ee3d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list