1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

hlsproto: fix integer overflow

Fixes CID703743
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-19 23:24:03 +02:00
parent ba39303050
commit 8fb8d539a4

View File

@ -293,7 +293,7 @@ retry:
/* 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 = s->target_duration * 500000;
reload_interval = s->target_duration * 500000LL;
}
}
if (s->cur_seq_no < s->start_seq_no) {