diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2025-08-18 17:20:49 +0200 |
---|---|---|
committer | michaelni <michael@niedermayer.cc> | 2025-08-18 22:02:47 +0000 |
commit | 0243cf89b137b093b02a5c61a76e28cec1d69ae9 (patch) | |
tree | e35bce5ef6ce059b798b0d3e5325d72d5a7f1e62 | |
parent | ca20d42cd79b12b1f39cc80c758e5492337f2f25 (diff) | |
download | ffmpeg-0243cf89b137b093b02a5c61a76e28cec1d69ae9.tar.gz |
avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/lrcdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/lrcdec.c b/libavformat/lrcdec.c index ebef87da6c..b323c59f59 100644 --- a/libavformat/lrcdec.c +++ b/libavformat/lrcdec.c @@ -92,7 +92,7 @@ static int64_t read_ts(const char *p, int64_t *start) if (ret != 3 || prefix[0] != '[' || ss < 0 || ss > 60) { return 0; } - *start = (mm * 60 + ss) * AV_TIME_BASE; + *start = llrint((mm * 60 + ss) * AV_TIME_BASE); if (prefix[1] == '-') { *start = - *start; } |