summaryrefslogtreecommitdiff
path: root/libavcodec/libopenjpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libopenjpeg.c')
-rw-r--r--libavcodec/libopenjpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c
index 39747e78ea..67201a2594 100644
--- a/libavcodec/libopenjpeg.c
+++ b/libavcodec/libopenjpeg.c
@@ -62,7 +62,7 @@ static int libopenjpeg_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
AVPacket *avpkt)
{
- const uint8_t *buf = avpkt->data;
+ uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
LibOpenJPEGContext *ctx = avctx->priv_data;
AVFrame *picture = &ctx->image, *output = data;