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

stream_filter: dash: fix null dereference on empty segments list

parent 37540a61
...@@ -52,6 +52,7 @@ std::vector<Segment*> IsoffMainManager::getSegments (const Repre ...@@ -52,6 +52,7 @@ std::vector<Segment*> IsoffMainManager::getSegments (const Repre
retSegments.push_back(initSegment); retSegments.push_back(initSegment);
} }
if ( list )
retSegments.insert(retSegments.end(), list->getSegments().begin(), list->getSegments().end()); retSegments.insert(retSegments.end(), list->getSegments().begin(), list->getSegments().end());
return retSegments; return retSegments;
} }
......
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