diff mbox series

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

Message ID GV1P250MB07375DD86E8632274E2F02548FE22@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit dcbdcc3bf55a91f5bd1995b8ff0d6b6ab8861c47
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:29 a.m. UTC
Forgotten in abb85429f3424375f21bdd135656c2d88357b3d5.

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

Patch

diff --git a/tests/checkasm/motion.c b/tests/checkasm/motion.c
index 71a0ee3fc0..e7a36bbbda 100644
--- a/tests/checkasm/motion.c
+++ b/tests/checkasm/motion.c
@@ -52,8 +52,8 @@  static void test_motion(const char *name, me_cmp_func test_func)
     LOCAL_ALIGNED_16(uint8_t, img2, [WIDTH * HEIGHT]);
 
     declare_func_emms(AV_CPU_FLAG_MMX, int, struct MpegEncContext *c,
-                      uint8_t *blk1 /* align width (8 or 16) */,
-                      uint8_t *blk2 /* align 1 */, ptrdiff_t stride,
+                      const uint8_t *blk1 /* align width (8 or 16) */,
+                      const uint8_t *blk2 /* align 1 */, ptrdiff_t stride,
                       int h);
 
     if (test_func == NULL) {