aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-12-22 09:09:33 -0300
committerJames Almer <jamrial@gmail.com>2023-12-22 09:28:04 -0300
commit46775e64f8b34f5e4d09df8458654f9f50626c4b (patch)
tree37b4eb549f1247f86f27e648a2e65aca85d98e47 /tests
parentc5029bb19352524463f3560fe7f6cb794e147b1f (diff)
downloadffmpeg-46775e64f8b34f5e4d09df8458654f9f50626c4b.tar.gz
avcodec/takdsp: fix const correctness
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/takdsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/checkasm/takdsp.c b/tests/checkasm/takdsp.c
index b27bb92976..544edc621d 100644
--- a/tests/checkasm/takdsp.c
+++ b/tests/checkasm/takdsp.c
@@ -37,7 +37,7 @@
#define BUF_SIZE 1024
static void test_decorrelate_ls(TAKDSPContext *s) {
- declare_func(void, int32_t *, int32_t *, int);
+ declare_func(void, const int32_t *, int32_t *, int);
if (check_func(s->decorrelate_ls, "decorrelate_ls")) {
LOCAL_ALIGNED_32(int32_t, p1, [BUF_SIZE]);
@@ -62,7 +62,7 @@ static void test_decorrelate_ls(TAKDSPContext *s) {
}
static void test_decorrelate_sr(TAKDSPContext *s) {
- declare_func(void, int32_t *, int32_t *, int);
+ declare_func(void, int32_t *, const int32_t *, int);
if (check_func(s->decorrelate_sr, "decorrelate_sr")) {
LOCAL_ALIGNED_32(int32_t, p1, [BUF_SIZE]);
@@ -115,7 +115,7 @@ static void test_decorrelate_sm(TAKDSPContext *s) {
}
static void test_decorrelate_sf(TAKDSPContext *s) {
- declare_func(void, int32_t *, int32_t *, int, int, int);
+ declare_func(void, int32_t *, const int32_t *, int, int, int);
if (check_func(s->decorrelate_sf, "decorrelate_sf")) {
LOCAL_ALIGNED_32(int32_t, p1, [BUF_SIZE]);