[vlc-commits] demux: mkv: ESDestroy on end-of-edition
Filip Roséen
git at videolan.org
Mon Jul 16 12:46:40 CEST 2018
vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Jul 16 05:19:57 2018 +0200| [7dfc5072f8e024cc5313d33e61c7c8996ed14b00] | committer: Steve Lhomme
demux: mkv: ESDestroy on end-of-edition
fixes: #20196
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7dfc5072f8e024cc5313d33e61c7c8996ed14b00
---
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 cde60b580e..07be2c944b 100644
--- a/modules/demux/mkv/virtual_segment.cpp
+++ b/modules/demux/mkv/virtual_segment.cpp
@@ -485,6 +485,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