Commit 8fb8d539 authored by Michael Niedermayer's avatar Michael Niedermayer

hlsproto: fix integer overflow

Fixes CID703743
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ba393030
...@@ -293,7 +293,7 @@ retry: ...@@ -293,7 +293,7 @@ retry:
/* If we need to reload the playlist again below (if /* If we need to reload the playlist again below (if
* there's still no more segments), switch to a reload * there's still no more segments), switch to a reload
* interval of half the target duration. */ * interval of half the target duration. */
reload_interval = s->target_duration * 500000; reload_interval = s->target_duration * 500000LL;
} }
} }
if (s->cur_seq_no < s->start_seq_no) { if (s->cur_seq_no < s->start_seq_no) {
......
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