From 0c9232b0414ee9c2817bf3a97198be043f2992c4 Mon Sep 17 00:00:00 2001 From: Jen Freeman Date: Tue, 22 Aug 2017 15:59:59 +0100 Subject: [PATCH] Fix bug where uri is empty as generated by MP4Box -single-file --- libdash/libdash/source/mpd/Segment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdash/libdash/source/mpd/Segment.cpp b/libdash/libdash/source/mpd/Segment.cpp index 31200762..de07a319 100644 --- a/libdash/libdash/source/mpd/Segment.cpp +++ b/libdash/libdash/source/mpd/Segment.cpp @@ -43,7 +43,7 @@ bool Segment::Init (const std::vector& this->absoluteuri = Path::CombinePaths(this->absoluteuri, uri); - if (uri != "" && dash::helpers::Path::GetHostPortAndPath(this->absoluteuri, host, port, path)) + if (this->absoluteuri != "" && dash::helpers::Path::GetHostPortAndPath(this->absoluteuri, host, port, path)) { this->host = host; this->port = port;