aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-19 23:24:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-19 23:24:03 +0200
commit8fb8d539a4c594a58df226bc1bd7a4d149f39424 (patch)
tree5ace52ecbc2d0dcdf0ecd0eab27dc28d7415c494
parentba39303050c1e10c595a5495ab89f6a9e63fb667 (diff)
downloadffmpeg-8fb8d539a4c594a58df226bc1bd7a4d149f39424.tar.gz
hlsproto: fix integer overflow
Fixes CID703743 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/hlsproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsproto.c b/libavformat/hlsproto.c
index a290c888e0..79cf0e498b 100644
--- a/libavformat/hlsproto.c
+++ b/libavformat/hlsproto.c
@@ -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) {