Commit 95a610fd authored by Rémi Duraffort's avatar Rémi Duraffort

mkv: fix missing unlock (cid #1047148)

parent 156a1fe2
......@@ -674,7 +674,11 @@ static int Demux( demux_t *p_demux)
virtual_segment_c *p_vsegment = p_sys->p_current_segment;
matroska_segment_c *p_segment = p_vsegment->CurrentSegment();
if ( p_segment == NULL ) return 0;
if ( p_segment == NULL )
{
vlc_mutex_unlock( &p_sys->lock_demuxer );
return 0;
}
int i_block_count = 0;
int i_return = 0;
......
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