Commit 1745ddf1 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: fix split by index end offset

parent fc253a4e
...@@ -376,8 +376,7 @@ void SegmentInformation::SplitUsingIndex(std::vector<SplitPoint> &splitlist) ...@@ -376,8 +376,7 @@ void SegmentInformation::SplitUsingIndex(std::vector<SplitPoint> &splitlist)
if(splitIt == splitlist.begin() && split.offset == 0) if(splitIt == splitlist.begin() && split.offset == 0)
continue; continue;
time = split.time; time = split.time;
insertIntoSegment(seglist, start, end, time * i_timescale / CLOCK_FREQ); insertIntoSegment(seglist, start, end - 1, time * i_timescale / CLOCK_FREQ);
end++;
} }
if(start != 0) if(start != 0)
......
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