Commit 2aa62a00 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

mkv: cleaned matroska_segment_c::ParseChapterAtom

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent b2d7e7db
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment