diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 01:00:47 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 01:00:47 +0400 |
commit | 395caf3de84a2bb179381f6ba4fbcb86ba24e3e7 (patch) | |
tree | 897f169c0c5418406ab18a5aa961d09547ff3415 /libavformat/hls.c | |
parent | a96577df38469e5075caa416d3374576d9ab64ee (diff) |
hls: fix integer overflow
Fixes CID717892
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 2 |
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, |