Commit 385994ad authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

hls: Removing useless test.

(cherry picked from commit 39ef23e2ce0e54c074490eda0dcee6068c77091e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 77a6b574
......@@ -2454,7 +2454,7 @@ static int segment_Seek(stream_t *s, const uint64_t pos)
length += segment->duration * (hls->bandwidth/8);
vlc_mutex_unlock(&segment->lock);
if (!b_found && (pos <= length))
if (pos <= length)
{
if (count - n >= 3)
{
......
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