Commit 20375e97 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

demux: adaptative: remove unneeded hls temp var

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