Commit 49a05843 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

demux: adaptative: fix uninitialized variables (cid #1313824)

parent 06d208ea
......@@ -99,9 +99,8 @@ std::string Url::toString(size_t index, const BaseRepresentation *rep) const
}
Url::Component::Component(const std::string & str, const MediaSegmentTemplate *templ_)
: component(str), templ(templ_), b_scheme(false), b_dir(false)
{
component = str;
templ = templ_;
if(!component.empty())
{
b_dir = (component[component.length()-1]=='/');
......
Supports Markdown
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