summaryrefslogtreecommitdiff
path: root/libavcodec/dfpwmenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dfpwmenc.c')
-rw-r--r--libavcodec/dfpwmenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dfpwmenc.c b/libavcodec/dfpwmenc.c
index 0465dc23ac..41ad645315 100644
--- a/libavcodec/dfpwmenc.c
+++ b/libavcodec/dfpwmenc.c
@@ -39,7 +39,7 @@ typedef struct {
// Licensed in the public domain
// note, len denotes how many compressed bytes there are (uncompressed bytes / 8).
-static void au_compress(DFPWMState *state, int len, uint8_t *outbuf, uint8_t *inbuf)
+static void au_compress(DFPWMState *state, int len, uint8_t *outbuf, const uint8_t *inbuf)
{
unsigned d = 0;
for (int i = 0; i < len; i++) {