From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id DD25A496D6 for ; Mon, 18 Aug 2025 15:28:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id DD8A0687C9C; Mon, 18 Aug 2025 18:28:09 +0300 (EEST) Received: from c1ad6a1ecdc3 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 5EC9E68CC4F for ; Mon, 18 Aug 2025 18:28:08 +0300 (EEST) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] =?utf-8?q?=5BPATCH=5D_avformat/lrcdec=3A_Fix_fate?= =?utf-8?q?-sub-lrc-ms-remux_on_x86-32_=28PR_=2320277=29?= X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: michaelni via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: michaelni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Message-Id: <20250818152809.DD8A0687C9C@ffbox0-bg.ffmpeg.org> Date: Mon, 18 Aug 2025 18:28:09 +0300 (EEST) Archived-At: List-Archive: List-Post: PR #20277 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20277 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20277.patch Signed-off-by: Michael Niedermayer >From fddada82fb61a75f207b57d316114a57b97781a0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 18 Aug 2025 17:20:49 +0200 Subject: [PATCH] avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32 Signed-off-by: Michael Niedermayer --- libavformat/lrcdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/lrcdec.c b/libavformat/lrcdec.c index ebef87da6c..68dadf7bd3 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 = lrint((mm * 60 + ss) * AV_TIME_BASE); if (prefix[1] == '-') { *start = - *start; } -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".