diff mbox series

[FFmpeg-devel,07/10] tests/checkasm/vf_colorspace: Use correct function pointer type

Message ID GV1P250MB07378FF67B973A55A89172958FE22@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 4c57cbda6796ec239ea732c62a058b61390f5102
Headers show
Series [FFmpeg-devel,01/10] tests/checkasm/hevc_*: Fix funtion pointer types | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt May 13, 2024, 9:30 a.m. UTC
Forgotten in 9b26a8077f1c0139fdcc236d3de08cd2bdc4ec0f.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 tests/checkasm/vf_colorspace.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/tests/checkasm/vf_colorspace.c b/tests/checkasm/vf_colorspace.c
index 31efa671f9..1b0d202ce6 100644
--- a/tests/checkasm/vf_colorspace.c
+++ b/tests/checkasm/vf_colorspace.c
@@ -53,8 +53,8 @@  static const unsigned bpp_mask[] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff };
 
 static void check_yuv2yuv(void)
 {
-    declare_func(void, uint8_t *dst[3], ptrdiff_t dst_stride[3],
-                 uint8_t *src[3], ptrdiff_t src_stride[3],
+    declare_func(void, uint8_t *dst[3], const ptrdiff_t dst_stride[3],
+                 uint8_t *src[3], const ptrdiff_t src_stride[3],
                  int w, int h, const int16_t coeff[3][3][8],
                  const int16_t off[2][8]);
     ColorSpaceDSPContext dsp;
@@ -122,7 +122,7 @@  static void check_yuv2yuv(void)
 static void check_yuv2rgb(void)
 {
     declare_func(void, int16_t *dst[3], ptrdiff_t dst_stride,
-                 uint8_t *src[3], ptrdiff_t src_stride[3],
+                 uint8_t *src[3], const ptrdiff_t src_stride[3],
                  int w, int h, const int16_t coeff[3][3][8],
                  const int16_t off[8]);
     ColorSpaceDSPContext dsp;
@@ -198,7 +198,7 @@  static void check_yuv2rgb(void)
 
 static void check_rgb2yuv(void)
 {
-    declare_func(void, uint8_t *dst[3], ptrdiff_t dst_stride[3],
+    declare_func(void, uint8_t *dst[3], const ptrdiff_t dst_stride[3],
                  int16_t *src[3], ptrdiff_t src_stride,
                  int w, int h, const int16_t coeff[3][3][8],
                  const int16_t off[8]);