aboutsummaryrefslogtreecommitdiffstats
path: root/Input/DASHReceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Input/DASHReceiver.cpp')
-rw-r--r--Input/DASHReceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Input/DASHReceiver.cpp b/Input/DASHReceiver.cpp
index c1f1acc6..f559f298 100644
--- a/Input/DASHReceiver.cpp
+++ b/Input/DASHReceiver.cpp
@@ -207,7 +207,7 @@ void DASHReceiver::NotifySegmentDownloaded ()
void DASHReceiver::DownloadInitSegmentWithoutLock ()
{
- int rep = std::stoi(this->mpdWrapper->getRepresentationIDWithoutLock(type).c_str());
+ int rep = atoi(this->mpdWrapper->getRepresentationIDWithoutLock(type).c_str());
if (this->InitSegmentExists(rep))
return;
@@ -224,7 +224,7 @@ void DASHReceiver::DownloadInitSegmentWithoutLock ()
void DASHReceiver::DownloadInitSegment ()
{
- int rep = std::stoi(this->mpdWrapper->getRepresentationID(type).c_str());
+ int rep = atoi(this->mpdWrapper->getRepresentationID(type).c_str());
if (this->InitSegmentExists(rep))
return;