hls: fix integer overflow

Fixes CID717892
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-19 23:00:47 +02:00
parent a96577df38
commit 395caf3de8
1 changed files with 1 additions and 1 deletions

View File

@ -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,