This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit ec60a0b5d86a8b30efbb116231c248e2eaa14468 Author: zhang xingxing <[email protected]> AuthorDate: Sat Oct 10 08:33:13 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun Oct 18 22:43:31 2026 +0000 avformat/realtextdec: keep the window duration in 64 bits This is not a security issue. Fixes: GJrBZmxJqqm8 Fixes: swarm-Integer-truncation-of-parsed-duration-and-timestamps-1a4b12 Found-by: zhang xingxing <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/realtextdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/realtextdec.c b/libavformat/realtextdec.c index 31f2263341..8f77939210 100644 --- a/libavformat/realtextdec.c +++ b/libavformat/realtextdec.c @@ -64,7 +64,8 @@ static int realtext_read_header(AVFormatContext *s) AVStream *st = avformat_new_stream(s, NULL); AVBPrint buf; char c = 0; - int res = 0, duration = read_ts("60"); // default duration is 60 seconds + int res = 0; + int64_t duration = read_ts("60"); // default duration is 60 seconds FFTextReader tr; ff_text_init_avio(s, &tr, s->pb); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
