Commit 33097d5d authored by François Cartegnie's avatar François Cartegnie 🤞

stream_filter: dash: simplify next chunk condition

parent c1481178
......@@ -45,12 +45,6 @@ AlwaysBestAdaptationLogic::~AlwaysBestAdaptationLogic ()
Chunk* AlwaysBestAdaptationLogic::getNextChunk()
{
if(this->schedule.size() == 0)
return NULL;
if(this->count == this->schedule.size())
return NULL;
if ( this->count < this->schedule.size() )
{
Chunk *chunk = new Chunk();
......
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