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


- Log -----------------------------------------------------------------
commit 0243cf89b137b093b02a5c61a76e28cec1d69ae9
Author:     Michael Niedermayer <mich...@niedermayer.cc>
AuthorDate: Mon Aug 18 17:20:49 2025 +0200
Commit:     michaelni <mich...@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 <mich...@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
-- 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to