Commit 5a95c543 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mkv: unchecked return

parent 40a82fd4
......@@ -1253,6 +1253,8 @@ void matroska_segment_c::EnsureDuration()
var_InheritBool( &sys.demuxer, "mkv-use-dummy" ) );
KaxCluster *p_last_cluster = (KaxCluster *) ep->Get();
if( p_last_cluster == NULL )
return;
ParseCluster( p_last_cluster, false, SCOPE_PARTIAL_DATA );
// use the last block + duration
......
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