aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/huffyuvdsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-13 09:37:40 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-17 13:29:34 +0200
commit631636e58216e1623ced5772de9558c9e944c6d0 (patch)
treef245830c4d213751712104153f1b390f35f6f00c /tests/checkasm/huffyuvdsp.c
parent895dd370a2625692ff4e9117382a53d80514ecee (diff)
downloadffmpeg-631636e58216e1623ced5772de9558c9e944c6d0.tar.gz
tests/checkasm/huffyuvdsp: Use correct function pointer type
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/checkasm/huffyuvdsp.c')
-rw-r--r--tests/checkasm/huffyuvdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/huffyuvdsp.c b/tests/checkasm/huffyuvdsp.c
index a08f5a8391..7491a8f14c 100644
--- a/tests/checkasm/huffyuvdsp.c
+++ b/tests/checkasm/huffyuvdsp.c
@@ -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 *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)
fail();