avcodec/dsd: Use double for LUTs

Needed to make DSD->PCM conversion bitexact across arches.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-31 22:26:55 +02:00
parent 2f59648aed
commit c720c69188

View File

@ -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)
{