[vlc-commits] mkv: cleaned matroska_segment_c::ParseChapterAtom
Filip Roséen
git at videolan.org
Sat May 7 20:33:41 CEST 2016
vlc | branch: master | Filip Roséen <filip at videolabs.io> | Fri May 6 19:08:44 2016 +0200| [2aa62a00745ae1340e2a1d927cf42282fe2fe3a2] | committer: Jean-Baptiste Kempf
mkv: cleaned matroska_segment_c::ParseChapterAtom
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2aa62a00745ae1340e2a1d927cf42282fe2fe3a2
---
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 );
More information about the vlc-commits
mailing list