From 395caf3de84a2bb179381f6ba4fbcb86ba24e3e7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 19 Oct 2012 23:00:47 +0200 Subject: [PATCH] hls: fix integer overflow Fixes CID717892 Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,