Commit 409ec0fa authored by Steve Lhomme's avatar Steve Lhomme

mkv.cpp: better test when files with no Segment UID are in the same dir

parent 790032d1
......@@ -5223,7 +5223,9 @@ size_t virtual_segment_c::AddSegment( matroska_segment_c *p_segment )
// check if it's not already in here
for ( i=0; i<linked_segments.size(); i++ )
{
if ( linked_segments[i]->p_segment_uid != NULL && *p_segment->p_segment_uid == *linked_segments[i]->p_segment_uid )
if ( linked_segments[i]->p_segment_uid != NULL
&& p_segment->p_segment_uid != NULL
&& *p_segment->p_segment_uid == *linked_segments[i]->p_segment_uid )
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