aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/takdsp.h
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 /libavcodec/takdsp.h
parentc5029bb19352524463f3560fe7f6cb794e147b1f (diff)
downloadffmpeg-46775e64f8b34f5e4d09df8458654f9f50626c4b.tar.gz
avcodec/takdsp: fix const correctness
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/takdsp.h')
-rw-r--r--libavcodec/takdsp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/takdsp.h b/libavcodec/takdsp.h
index 55f1a10cd3..13b5e530b2 100644
--- a/libavcodec/takdsp.h
+++ b/libavcodec/takdsp.h
@@ -22,10 +22,10 @@
#include <stdint.h>
typedef struct TAKDSPContext {
- void (*decorrelate_ls)(int32_t *p1, int32_t *p2, int length);
- void (*decorrelate_sr)(int32_t *p1, int32_t *p2, int length);
+ void (*decorrelate_ls)(const int32_t *p1, int32_t *p2, int length);
+ void (*decorrelate_sr)(int32_t *p1, const int32_t *p2, int length);
void (*decorrelate_sm)(int32_t *p1, int32_t *p2, int length);
- void (*decorrelate_sf)(int32_t *p1, int32_t *p2, int length, int dshift, int dfactor);
+ void (*decorrelate_sf)(int32_t *p1, const int32_t *p2, int length, int dshift, int dfactor);
} TAKDSPContext;
void ff_takdsp_init(TAKDSPContext *c);