fix segfault

parent aa613177
...@@ -5359,6 +5359,9 @@ bool matroska_segment_c::CompareSegmentUIDs( const matroska_segment_c * p_item_a ...@@ -5359,6 +5359,9 @@ bool matroska_segment_c::CompareSegmentUIDs( const matroska_segment_c * p_item_a
return true; return true;
p_tmp = (EbmlBinary *)p_item_a->p_next_segment_uid; p_tmp = (EbmlBinary *)p_item_a->p_next_segment_uid;
if ( !p_tmp )
return false;
if ( p_item_b->p_segment_uid != NULL if ( p_item_b->p_segment_uid != NULL
&& *p_tmp == *p_item_b->p_segment_uid ) && *p_tmp == *p_item_b->p_segment_uid )
return true; return true;
......
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