[FFmpeg-devel] [PATCH 02/10] tests/checkasm/huffyuvdsp: Use correct function pointer type
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon May 13 12:29:17 EEST 2024
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
tests/checkasm/huffyuvdsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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();
--
2.40.1
More information about the ffmpeg-devel
mailing list