Commit d5356135 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

demux:mkv: do not try to use p_prev if it's already free'd

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent dc6e8ce3
......@@ -178,6 +178,7 @@ EbmlElement *EbmlParser::Get( int n_call )
if( MKV_IS_ID( p_prev, KaxBlockVirtual ) )
static_cast<KaxBlockVirtualWorkaround*>(p_prev)->Fix(); // !! WARNING : TODO !! this is undefined-behavior
delete p_prev;
p_prev = NULL;
mb_keep = false;
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