master hovercats/oakiss / pkg / ffmpeg / patch / 0001-libavutil-Remove-last-use-of-long-double.patch
 1From ac61188ac8c177bceb48dd2b373caaf7a639f266 Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Tue, 7 Sep 2021 01:39:36 -0700
 4Subject: [PATCH] libavutil: Remove last use of long double
 5
 6The commit that introduced this file mentioned converting all long
 7double to double, so presumably this one was just missed.
 8---
 9 libavutil/avsscanf.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/libavutil/avsscanf.c b/libavutil/avsscanf.c
13index b7f0f71c2d..31530dde67 100644
14--- a/libavutil/avsscanf.c
15+++ b/libavutil/avsscanf.c
16@@ -440,7 +440,7 @@ static double decfloat(FFFILE *f, int c, int bits, int emin, int sign, int pok)
17     /* Assemble desired bits into floating point variable */
18     for (y=i=0; i<LD_B1B_DIG; i++) {
19         if ((a+i & MASK)==z) x[(z=(z+1 & MASK))-1] = 0;
20-        y = 1000000000.0L * y + x[a+i & MASK];
21+        y = 1000000000.0 * y + x[a+i & MASK];
22     }
23 
24     y *= sign;
25-- 
262.32.0
27