[vlc-devel] [PATCH 06/11] demux:mkv: do not try to read concatenated segments when we can't seek
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jan 2 16:38:13 CET 2018
---
modules/demux/mkv/demux.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
index 4c224d0433..9a45476562 100644
--- a/modules/demux/mkv/demux.cpp
+++ b/modules/demux/mkv/demux.cpp
@@ -532,6 +532,9 @@ matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlS
b_l0_handled = true;
}
+ if ( !b_seekable )
+ break;
+
EbmlElement* p_l0_prev = p_l0;
if (p_l0->IsFiniteSize() )
--
2.14.2
More information about the vlc-devel
mailing list