Commit 6dee0982 authored by Zhao Zhili's avatar Zhao Zhili Committed by François Cartegnie

demux: adaptive: prevent seekable check fail after the last segment is demuxed

Signed-off-by: François Cartegnie's avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent dfbd1121
......@@ -236,7 +236,6 @@ SegmentChunk * SegmentTracker::getNextChunk(bool switch_allowed,
segment = rep->getNextSegment(BaseRepresentation::INFOTYPE_MEDIA, next, &next, &b_gap);
if(!segment)
{
reset();
return NULL;
}
......
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