]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libopenjpeg.c
doc/ffmpeg: s/avserver/ffserver/
[ffmpeg] / libavcodec / libopenjpeg.c
index 39747e78eacf66bb7766561a031eee6dd9c9848c..67201a259491ac8b438390de953e7d4e8f025758 100644 (file)
@@ -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;