tests/checkasm/huffyuvdsp: Use correct function pointer type

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-13 09:37:40 +02:00 committed by Paul B Mahol
parent dc43263c22
commit d2016d3659

View File

@ -42,7 +42,7 @@ static void check_add_int16(HuffYUVDSPContext *c, unsigned mask, int width, cons
uint16_t *dst0 = av_mallocz(width * sizeof(uint16_t)); uint16_t *dst0 = av_mallocz(width * sizeof(uint16_t));
uint16_t *dst1 = av_mallocz(width * sizeof(uint16_t)); uint16_t *dst1 = av_mallocz(width * sizeof(uint16_t));
declare_func(void, uint16_t *dst, uint16_t *src, unsigned mask, int w); declare_func(void, uint16_t *dst, const uint16_t *src, unsigned mask, int w);
if (!src0 || !src1 || !dst0 || !dst1) if (!src0 || !src1 || !dst0 || !dst1)
fail(); fail();