diff options
Diffstat (limited to 'Input/MediaObject.cpp')
-rw-r--r-- | Input/MediaObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Input/MediaObject.cpp b/Input/MediaObject.cpp index f479a886..b2dde357 100644 --- a/Input/MediaObject.cpp +++ b/Input/MediaObject.cpp @@ -28,7 +28,7 @@ MediaObject::MediaObject(ISegment *segment, IRepresentation *rep, bool withFeedB InitializeCriticalSection (&this->stateLock); this->representationBandwidth = rep->GetBandwidth(); this->representationHeight = rep->GetHeight(); - this->representationId = std::stoi(rep->GetId()); + this->representationId = atoi(rep->GetId().c_str()); } MediaObject::~MediaObject() |