X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=server.cpp;h=52f26db30b8b23598767d3182c18a3e441ee708d;hb=5a594448db489094c0918e56b283c69d25d35ef2;hp=61bdb3f698503a7dc3bdd9e8c838bc81532e682a;hpb=4935d50a97f7391795b7974b40c85003189f117a;p=cubemap diff --git a/server.cpp b/server.cpp index 61bdb3f..52f26db 100644 --- a/server.cpp +++ b/server.cpp @@ -672,7 +672,7 @@ sending_header_or_short_response_again: // 100 kB prebuffer but end up sending a 10 MB GOP. assert(client->stream_pos == Client::STREAM_POS_AT_END); assert(client->stream_pos_end == Client::STREAM_POS_NO_END); - deque::const_iterator starting_point_it = + deque::const_iterator starting_point_it = lower_bound(stream->suitable_starting_points.begin(), stream->suitable_starting_points.end(), stream->bytes_received - stream->prebuffering_bytes);