summaryrefslogtreecommitdiff
path: root/libavformat/rpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rpl.c')
-rw-r--r--libavformat/rpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rpl.c b/libavformat/rpl.c
index 459791ffd3..75aed739a0 100644
--- a/libavformat/rpl.c
+++ b/libavformat/rpl.c
@@ -277,7 +277,7 @@ static int rpl_read_header(AVFormatContext *s)
error |= read_line(pb, line, sizeof(line)); // size of "helpful" sprite
if (vst) {
error |= read_line(pb, line, sizeof(line)); // offset to key frame list
- vst->duration = number_of_chunks * rpl->frames_per_chunk;
+ vst->duration = number_of_chunks * (int64_t)rpl->frames_per_chunk;
}
// Read the index