diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c index c639bea2e8..ad98a9c6ee 100644 --- a/libavcodec/dvenc.c +++ b/libavcodec/dvenc.c @@ -45,7 +45,7 @@ static av_cold int dvvideo_encode_init(AVCodecContext *avctx) 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",