summaryrefslogtreecommitdiff
path: root/libavcodec/dvenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-02 08:45:01 -0700
committerDiego Biurrun <diego@biurrun.de>2014-08-02 12:54:37 -0700
commit7835c24e19d9e1cb43fba5a02ce9d81d518f1300 (patch)
tree5453f026f44cdbbb5f42b28d7cd14faaf8c7011e /libavcodec/dvenc.c
parentffa4d4ef0bd66c4e8bde7357b69bdedc78123ea8 (diff)
dv: Update DV-profile-related functions to current public API
Diffstat (limited to 'libavcodec/dvenc.c')
-rw-r--r--libavcodec/dvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c
index 5031218b05..74e29d8caa 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",