Commit 515e3105 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: fix osx build

parent 76ece833
......@@ -99,7 +99,7 @@ Url::Component::Component(const std::string & str, const MediaSegmentTemplate *t
templ = templ_;
if(!component.empty())
{
b_dir = (component.back()=='/');
b_dir = (component[component.length()-1]=='/');
b_scheme = !component.compare(0, 7, "http://") || !component.compare(0, 8, "https://");
}
}
......
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