From a9b9636046072035ea377196f891d35cd218fe48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 22 Jul 2025 20:51:57 +0200 Subject: [PATCH] avformat/vivo: fix sscanf specifer for double MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kacper Michajłow --- libavformat/vivo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/vivo.c b/libavformat/vivo.c index 76aa4a21c2..c20788f8bb 100644 --- a/libavformat/vivo.c +++ b/libavformat/vivo.c @@ -209,7 +209,7 @@ static int vivo_read_header(AVFormatContext *s) value_used = 1; } else if (!strcmp(key, "FPS")) { double d; - if (av_sscanf(value, "%f", &d) != 1) + if (av_sscanf(value, "%lf", &d) != 1) return AVERROR_INVALIDDATA; value_used = 1;