Commit 395caf3d authored by Michael Niedermayer's avatar Michael Niedermayer

hls: fix integer overflow

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