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

git at videolan.org git at videolan.org
Wed Jul 14 20:31:08 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Jul 14 20:27:18 2010 +0200| [2784bc2a8e8c022398879fbe5299d9683edfafe6] | committer: Laurent Aimar 

Added an assert in mkv.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2784bc2a8e8c022398879fbe5299d9683edfafe6
---

 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 9fcfa38..5887742 100644
--- a/modules/demux/mkv/Ebml_parser.cpp
+++ b/modules/demux/mkv/Ebml_parser.cpp
@@ -49,6 +49,7 @@ EbmlParser::~EbmlParser( void )
 {
     if( !mi_level )
     {
+        assert( !mb_keep );
         delete m_el[1];
         return;
     }



More information about the vlc-commits mailing list