Commit 20375e97 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: remove unneeded hls temp var

parent fe955928
...@@ -69,7 +69,6 @@ std::vector<uint8_t> Attribute::hexSequence() const ...@@ -69,7 +69,6 @@ std::vector<uint8_t> Attribute::hexSequence() const
std::pair<std::size_t,std::size_t> Attribute::getByteRange() const std::pair<std::size_t,std::size_t> Attribute::getByteRange() const
{ {
std::pair<std::size_t,std::size_t> ret;
std::size_t length = 0; std::size_t length = 0;
std::size_t offset = 0; std::size_t offset = 0;
std::istringstream is(value); std::istringstream is(value);
...@@ -85,8 +84,7 @@ std::pair<std::size_t,std::size_t> Attribute::getByteRange() const ...@@ -85,8 +84,7 @@ std::pair<std::size_t,std::size_t> Attribute::getByteRange() const
} }
} }
ret = std::make_pair(offset, length); return std::make_pair(offset, length);
return ret;
} }
std::pair<int, int> Attribute::getResolution() const std::pair<int, int> Attribute::getResolution() const
......
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