summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-19 23:00:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-19 23:00:47 +0200
commit395caf3de84a2bb179381f6ba4fbcb86ba24e3e7 (patch)
tree897f169c0c5418406ab18a5aa961d09547ff3415 /libavformat
parenta96577df38469e5075caa416d3374576d9ab64ee (diff)
hls: fix integer overflow
Fixes CID717892 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 6675a1a4a3..ef5803ba4b 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -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,