diff options
Diffstat (limited to 'libavcodec/libdavs2.c')
-rw-r--r-- | libavcodec/libdavs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index c2040775ae..918e48502c 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -190,7 +190,7 @@ static int davs2_decode_frame(AVCodecContext *avctx, AVFrame *frame, { DAVS2Context *cad = avctx->priv_data; int buf_size = avpkt->size; - uint8_t *buf_ptr = avpkt->data; + const uint8_t *buf_ptr = avpkt->data; int ret = DAVS2_DEFAULT; /* end of stream, output what is still in the buffers */ |