esize = 0;
}
- avctx->pix_fmt = PIX_FMT_PAL8;
+ avctx->pix_fmt = AV_PIX_FMT_PAL8;
if (s->width != avctx->width && s->height != avctx->height) {
if (av_image_check_size(s->width, s->height, 0, avctx) < 0)
AVCodec ff_pictor_decoder = {
.name = "pictor",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PICTOR,
+ .id = AV_CODEC_ID_PICTOR,
.priv_data_size = sizeof(PicContext),
.close = decode_end,
.decode = decode_frame,