[vlc-devel] [PATCH 05/34] mkv: cleaned matroska_segment_c::ParseChapterAtom
Filip Roséen
filip at videolabs.io
Fri May 6 19:08:44 CEST 2016
---
modules/demux/mkv/matroska_segment_parse.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 8751f2e..4591a01 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -976,9 +976,7 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap
for( size_t j = 0; j < cp.ListSize(); j++ )
{
- EbmlElement *k= cp[j];
-
- if( MKV_CHECKED_PTR_DECL( p_codec_id, KaxChapterProcessCodecID, k ) )
+ if( MKV_CHECKED_PTR_DECL( p_codec_id, KaxChapterProcessCodecID, cp[j] ) )
{
if ( static_cast<uint32>(*p_codec_id) == 0 )
p_ccodec = new matroska_script_codec_c( vars.obj->sys );
--
2.8.2
More information about the vlc-devel
mailing list