[vlc-commits] [Git][videolan/vlc][3.0.x] demux: mkv: allow reading v3 and v4 files
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Wed May 25 13:51:04 UTC 2022
Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC
Commits:
f9f802a4 by Steve Lhomme at 2022-05-24T12:48:48+02: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
(cherry picked from commit 6fd29e31d7b7166411fa11b2b84d1a865cc4ee3d)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
- - - - -
1 changed file:
- modules/demux/mkv/demux.cpp
Changes:
=====================================
modules/demux/mkv/demux.cpp
=====================================
@@ -483,9 +483,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/f9f802a4d6a9391df4d0e4dbcdffbd575a01e5e8
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f9f802a4d6a9391df4d0e4dbcdffbd575a01e5e8
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