diff mbox series

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

Message ID GV1P250MB0737E079B95D8F35CB0FF2348FE22@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit caec57eb3ab76533822e13d9133fe8c7d87f0c0e
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 fa06f48371ba2b73c139810db5bb893dc27eda7a.

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

Patch

diff --git a/tests/checkasm/vf_bwdif.c b/tests/checkasm/vf_bwdif.c
index fae61b62e4..222e6aa4fa 100644
--- a/tests/checkasm/vf_bwdif.c
+++ b/tests/checkasm/vf_bwdif.c
@@ -40,7 +40,7 @@ 
         const int stride = WIDTH;                                              \
         const int mask = (1<<depth)-1;                                         \
                                                                                \
-        declare_func(void, void *dst, void *prev, void *cur, void *next,       \
+        declare_func(void, void *dst, const void *prev, const void *cur, const void *next, \
                         int w, int prefs, int mrefs, int prefs2, int mrefs2,   \
                         int prefs3, int mrefs3, int prefs4, int mrefs4,        \
                         int parity, int clip_max);                             \
@@ -181,7 +181,7 @@  void checkasm_check_vf_bwdif(void)
             for (parity = 0; parity != 2; ++parity) {
                 if (check_func(ctx_8.filter_edge, "bwdif8.edge.s%d.p%d", spat, parity)) {
 
-                    declare_func(void, void *dst1, void *prev1, void *cur1, void *next1,
+                    declare_func(void, void *dst1, const void *prev1, const void *cur1, const void *next1,
                                             int w, int prefs, int mrefs, int prefs2, int mrefs2,
                                             int parity, int clip_max, int spat);
 
@@ -225,7 +225,7 @@  void checkasm_check_vf_bwdif(void)
         const int stride = WIDTH;
         const int mask = (1<<8)-1;
 
-        declare_func(void, void *dst1, void *cur1, int w, int prefs, int mrefs,
+        declare_func(void, void *dst1, const void *cur1, int w, int prefs, int mrefs,
                      int prefs3, int mrefs3, int parity, int clip_max);
 
         randomize_buffers( cur0,  cur1, mask, 11*WIDTH);