diff options
author | Lynne <dev@lynne.ee> | 2024-04-29 01:44:46 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-04-29 15:30:25 +0200 |
commit | f492095bd3e22ecf5565a08437a0816910bac949 (patch) | |
tree | 74f077e754965e10bd60746818cb1b6d9b8663bf | |
parent | cf4af4bca0368afd36e1c77980bf5e8a165bb99a (diff) | |
download | ffmpeg-f492095bd3e22ecf5565a08437a0816910bac949.tar.gz |
opustab: macro constant as a double
May increase intermediate precision on some compilers.
-rw-r--r-- | libavcodec/opustab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opustab.c b/libavcodec/opustab.c index 47624fe651..917375253e 100644 --- a/libavcodec/opustab.c +++ b/libavcodec/opustab.c @@ -1164,7 +1164,7 @@ const uint32_t * const ff_celt_pvq_u_row[15] = { * libopus uses a slighly rounded constant, set to 0.85 exactly, * to simplify its fixed-point version, but it's not significant to impact * compliance. */ -#define CELT_EMPH_COEFF 0.8500061035f +#define CELT_EMPH_COEFF 0.8500061035 DECLARE_ALIGNED(16, const float, ff_opus_deemph_weights)[] = { CELT_EMPH_COEFF, |