[vlc-commits] demux: mkv: ESDestroy on end-of-edition
Filip Roséen
git at videolan.org
Mon Jul 16 14:30:39 CEST 2018
vlc/vlc-3.0 | branch: master | Filip Roséen <filip at atch.se> | Mon Jul 16 05:19:57 2018 +0200| [bbfb5955e377c67485f77d3fa3babd36735e9d24] | committer: Jean-Baptiste Kempf
demux: mkv: ESDestroy on end-of-edition
fixes: #20196
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
(cherry picked from commit 7dfc5072f8e024cc5313d33e61c7c8996ed14b00)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=bbfb5955e377c67485f77d3fa3babd36735e9d24
---
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 8a0f1ca2cf..c643350ee2 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -489,6 +489,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;
}
More information about the vlc-commits
mailing list