}
static int decode_plane(AVCodecContext *avctx, int plane,
- AVPacket *avpkt, AVFrame *frame)
+ const AVPacket *avpkt, AVFrame *frame)
{
PixletContext *ctx = avctx->priv_data;
ptrdiff_t stride = frame->linesize[plane] / 2;
return pktsize;
}
-AVCodec ff_pixlet_decoder = {
+const AVCodec ff_pixlet_decoder = {
.name = "pixlet",
.long_name = NULL_IF_CONFIG_SMALL("Apple Pixlet"),
.type = AVMEDIA_TYPE_VIDEO,