Commit b7f8d3de authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '7835c24e'

* commit '7835c24e':
  dv: Update DV-profile-related functions to current public API

Conflicts:
	libavcodec/dvdec.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 6cdf4098 7835c24e
...@@ -45,7 +45,7 @@ static av_cold int dvvideo_encode_init(AVCodecContext *avctx) ...@@ -45,7 +45,7 @@ static av_cold int dvvideo_encode_init(AVCodecContext *avctx)
PixblockDSPContext pdsp; PixblockDSPContext pdsp;
int ret; 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) { if (!s->sys) {
av_log(avctx, AV_LOG_ERROR, "Found no DV profile for %ix%i %s video. " av_log(avctx, AV_LOG_ERROR, "Found no DV profile for %ix%i %s video. "
"Valid DV profiles are:\n", "Valid DV profiles are:\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment