s->height = avctx->height;
s->blocks = (s->width / 8) * (s->height / 8);
avctx->pix_fmt = PIX_FMT_YUV410P;
- avcodec_get_frame_defaults(&s->frame);
+ avctx->coded_frame = &s->frame;
avctx->coded_frame = (AVFrame*) &s->frame;
s->ulti_codebook = ulti_codebook;
.close = ulti_decode_end,
.decode = ulti_decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"),
+ .long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"),
};