Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
return NULL;
}
-void virtual_segment_c::AddSegments(std::vector<matroska_segment_c *> segments)
+void virtual_segment_c::AddSegments( const std::vector<matroska_segment_c *> &segments)
{
// fill our current virtual segment with all hard linked segments
size_t i_preloaded;
AppendUID( p_segment->p_next_segment_uid );
}
- void AddSegments( std::vector<matroska_segment_c*> segments );
+ void AddSegments( const std::vector<matroska_segment_c*> &segments );
void Seek( demux_t & demuxer, mtime_t i_date, mtime_t i_time_offset, chapter_item_c *p_chapter, int64_t i_global_position );