[FFmpeg-cvslog] [ffmpeg] branch master updated. 0243cf89b1 avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32

ffmpeg-git at ffmpeg.org ffmpeg-git at ffmpeg.org
Tue Aug 19 01:03:15 EEST 2025


The branch, master has been updated
       via  0243cf89b137b093b02a5c61a76e28cec1d69ae9 (commit)
      from  ca20d42cd79b12b1f39cc80c758e5492337f2f25 (commit)


- Log -----------------------------------------------------------------
commit 0243cf89b137b093b02a5c61a76e28cec1d69ae9
Author:     Michael Niedermayer <michael at niedermayer.cc>
AuthorDate: Mon Aug 18 17:20:49 2025 +0200
Commit:     michaelni <michael at niedermayer.cc>
CommitDate: Mon Aug 18 22:02:47 2025 +0000

    avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32
    
    Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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;
     }

-----------------------------------------------------------------------

Summary of changes:
 libavformat/lrcdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 



More information about the ffmpeg-cvslog mailing list