[vlc-commits] commit: Added an assert in mkv. (Laurent Aimar )

git at videolan.org git at videolan.org
Sat Jul 17 14:28:33 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Jul 14 20:27:18 2010 +0200| [6785338862f8a4042196d1422726e1def5c6eb80] | committer: Jean-Baptiste Kempf 

Added an assert in mkv.
(cherry picked from commit 2784bc2a8e8c022398879fbe5299d9683edfafe6)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=6785338862f8a4042196d1422726e1def5c6eb80
---

 modules/demux/mkv/Ebml_parser.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/demux/mkv/Ebml_parser.cpp b/modules/demux/mkv/Ebml_parser.cpp
index 590d09a..aeec50d 100644
--- a/modules/demux/mkv/Ebml_parser.cpp
+++ b/modules/demux/mkv/Ebml_parser.cpp
@@ -50,6 +50,7 @@ EbmlParser::~EbmlParser( void )
 {
     if( !mi_level )
     {
+        assert( !mb_keep );
         delete m_el[1];
         return;
     }



More information about the vlc-commits mailing list