diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-13 09:40:01 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-17 13:29:51 +0200 |
commit | 99135a2f8bb933e3572313cea168ba79e38ca47b (patch) | |
tree | ee009f4cacc9190566840dfd949d5c6ebcadf18f | |
parent | 631636e58216e1623ced5772de9558c9e944c6d0 (diff) | |
download | ffmpeg-99135a2f8bb933e3572313cea168ba79e38ca47b.tar.gz |
tests/checkasm/llviddsp: Use correct function pointer type
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | tests/checkasm/llviddsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/llviddsp.c b/tests/checkasm/llviddsp.c index 00ad21a7cc..b75c0ea099 100644 --- a/tests/checkasm/llviddsp.c +++ b/tests/checkasm/llviddsp.c @@ -114,7 +114,7 @@ static void check_add_left_pred(LLVidDSPContext *c, int width, int acc, const ch uint8_t *dst1 = av_mallocz(width); uint8_t *src0 = av_calloc(width, sizeof(*src0)); uint8_t *src1 = av_calloc(width, sizeof(*src1)); - declare_func(int, uint8_t *dst, uint8_t *src, ptrdiff_t w, int acc); + declare_func(int, uint8_t *dst, const uint8_t *src, ptrdiff_t w, int acc); init_buffer(src0, src1, uint8_t, width); @@ -143,7 +143,7 @@ static void check_add_left_pred_16(LLVidDSPContext *c, unsigned mask, int width, uint16_t *dst1 = av_calloc(width, sizeof(*dst1)); uint16_t *src0 = av_calloc(width, sizeof(*src0)); uint16_t *src1 = av_calloc(width, sizeof(*src1)); - declare_func(int, uint16_t *dst, uint16_t *src, unsigned mask, ptrdiff_t w, unsigned acc); + declare_func(int, uint16_t *dst, const uint16_t *src, unsigned mask, ptrdiff_t w, unsigned acc); init_buffer(src0, src1, uint16_t, width); |