aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-31 22:26:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-04 23:58:57 +0200
commitc720c691889be1e5841d72d5f2600c7cc35c8483 (patch)
treee1b6f07def6d57518717ea4ec712a3d7f7b64459 /libavcodec
parent2f59648aed8ba538e2ff3cd7edcb85f4501faa25 (diff)
downloadffmpeg-c720c691889be1e5841d72d5f2600c7cc35c8483.tar.gz
avcodec/dsd: Use double for LUTs
Needed to make DSD->PCM conversion bitexact across arches. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsd.c b/libavcodec/dsd.c
index e039302c99..ec63a706f6 100644
--- a/libavcodec/dsd.c
+++ b/libavcodec/dsd.c
@@ -68,7 +68,7 @@ static const double htaps[HTAPS] = {
3.423230509967409e-07, 1.244182214744588e-07, 3.130441005359396e-08
};
-static float ctables[CTABLES][256];
+static double ctables[CTABLES][256];
static av_cold void dsd_ctables_tableinit(void)
{