Browse Source

hls: fix integer overflow

Fixes CID717892
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
395caf3de8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/hls.c

+ 1
- 1
libavformat/hls.c View File

@@ -409,7 +409,7 @@ reload:
/* If we need to reload the playlist again below (if /* If we need to reload the playlist again below (if
* there's still no more segments), switch to a reload * there's still no more segments), switch to a reload
* interval of half the target duration. */ * 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) { if (v->cur_seq_no < v->start_seq_no) {
av_log(NULL, AV_LOG_WARNING, av_log(NULL, AV_LOG_WARNING,


Loading…
Cancel
Save