diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-19 23:00:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-19 23:00:47 +0200 |
commit | 395caf3de84a2bb179381f6ba4fbcb86ba24e3e7 (patch) | |
tree | 897f169c0c5418406ab18a5aa961d09547ff3415 | |
parent | a96577df38469e5075caa416d3374576d9ab64ee (diff) | |
download | ffmpeg-395caf3de84a2bb179381f6ba4fbcb86ba24e3e7.tar.gz |
hls: fix integer overflow
Fixes CID717892
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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, |