summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegenc_common.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-12-10 14:39:02 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2022-11-06 20:50:26 +0100
commitf442a376a1d9cde5a7bc31aca056b0c2a57e2a48 (patch)
treef787f71db617717ef2604f4f6bd454c137743e9d /libavcodec/mjpegenc_common.c
parenta4ba6e7d2c398bf6bccca85c5819b52ec579e89b (diff)
downloadffmpeg-f442a376a1d9cde5a7bc31aca056b0c2a57e2a48.tar.gz
checkasm: float_dsp: Scale FLT/DBL_EPSILON sufficiently when comparing
As the values generated by av_bmg_get can be arbitrarily large (only the stddev is specified), we can't use a fixed tolerance. This matches what was done for test_vector_dmul_scalar in 38f966b2222db. This fixes the float_dsp checkasm test for some seeds, when built with clang for mingw/x86_32. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 8f70e261fa6ff1f3efda5dbcebf02dcf6dea13b4) Fixes ticket #10010
Diffstat (limited to 'libavcodec/mjpegenc_common.c')
0 files changed, 0 insertions, 0 deletions