[FFmpeg-cvslog] tests/checkasm/vf_bwdif: Use correct function pointer type
Andreas Rheinhardt
git at videolan.org
Fri May 17 14:41:58 EEST 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon May 13 09:58:43 2024 +0200| [caec57eb3ab76533822e13d9133fe8c7d87f0c0e] | committer: Andreas Rheinhardt
tests/checkasm/vf_bwdif: Use correct function pointer type
Forgotten in fa06f48371ba2b73c139810db5bb893dc27eda7a.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=caec57eb3ab76533822e13d9133fe8c7d87f0c0e
---
tests/checkasm/vf_bwdif.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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);
More information about the ffmpeg-cvslog
mailing list