int apt, is16_9, ret;
const AVDVProfile *sys;
- sys = avpriv_dv_frame_profile(s->sys, buf, buf_size);
+ sys = av_dv_frame_profile(s->sys, buf, buf_size);
if (!sys || buf_size < sys->frame_size) {
av_log(avctx, AV_LOG_ERROR, "could not find dv frame profile\n");
return -1; /* NOTE: we only accept several full frames */
PixblockDSPContext pdsp;
int ret;
- s->sys = avpriv_dv_codec_profile(avctx);
+ s->sys = av_dv_codec_profile(avctx->width, avctx->height, avctx->pix_fmt);
if (!s->sys) {
av_log(avctx, AV_LOG_ERROR, "Found no DV profile for %ix%i %s video. "
"Valid DV profiles are:\n",