]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pixlet.c
doc/APIchanges: add hashes and version numbers for recent entries
[ffmpeg] / libavcodec / pixlet.c
index 42acd683faaa3ffadd64e49de1f4db5635d8b4cf..5361bc42bfde2c11f79804cb0c8db6acc94a17ca 100644 (file)
@@ -525,7 +525,7 @@ static void postprocess_chroma(AVFrame *frame, int w, int h, int depth)
 }
 
 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;
@@ -693,7 +693,7 @@ static int pixlet_decode_frame(AVCodecContext *avctx, void *data,
     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,