summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/sonic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index bff21eb8d2..9e193d469d 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -851,7 +851,7 @@ static int sonic_decode_close(AVCodecContext *avctx)
static int sonic_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
SonicContext *s = avctx->priv_data;
GetBitContext gb;