summaryrefslogtreecommitdiff
path: root/libavcodec/dvenc.c
diff options
context:
space:
mode:
authorSteve Jiekak <devaureshy@gmail.com>2014-12-04 14:48:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-04 20:24:00 +0100
commita32c3c2392eca1eab3d833c4a655c2fef74f5f06 (patch)
treed7ab99d8d49b6638f536a941ce6f4cc22c54f4e7 /libavcodec/dvenc.c
parent6e9ac02af8b67522fef6eaf22d983b6d1a39221e (diff)
downloadffmpeg-a32c3c2392eca1eab3d833c4a655c2fef74f5f06.tar.gz
replaced av_dv_codec_profile by av_dv_codec_profile2 in encoder and dv muxers
Signed-off-by: Steve Jiekak <devaureshy@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 5d810e3bf5..7061508af4 100644
--- a/libavcodec/dvenc.c
+++ b/libavcodec/dvenc.c
@@ -47,7 +47,7 @@ static av_cold int dvvideo_encode_init(AVCodecContext *avctx)
PixblockDSPContext pdsp;
int ret;
- s->sys = av_dv_codec_profile(avctx->width, avctx->height, avctx->pix_fmt);
+ s->sys = av_dv_codec_profile2(avctx->width, avctx->height, avctx->pix_fmt, avctx->time_base);
if (!s->sys) {
av_log(avctx, AV_LOG_ERROR, "Found no DV profile for %ix%i %s video. "
"Valid DV profiles are:\n",