[vlc-devel] [PATCH 9/9] demux: mkv: ESDestroy on end-of-edition

Filip Roséen filip at atch.se
Mon Jul 16 05:19:57 CEST 2018


fixes: #20196
---
 modules/demux/mkv/virtual_segment.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
index aade7e7a45..4e867a5aa5 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -483,6 +483,7 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux )
         {
             if ( !p_current_vchapter->Leave( ) )
             {
+                p_current_vchapter->segment.ESDestroy();
                 p_current_vchapter = NULL;
                 b_current_vchapter_entered = false;
             }
-- 
2.18.0



More information about the vlc-devel mailing list