diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-04-15 09:22:52 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-04-15 09:23:43 +0200 |
commit | f6b5a5c7d05aa92b7af1ce9f40b868542c414ad4 (patch) | |
tree | c3bd9fb58d6f4a9f08aa032b23918a1251bbeb22 | |
parent | b9e4bbc6865101c7cfbc485fdad532f5d8de943e (diff) | |
download | ffmpeg-f6b5a5c7d05aa92b7af1ce9f40b868542c414ad4.tar.gz |
avcodec/dnxhdenc: fix recent regression
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 1c270a4ad7..59e3f73689 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -477,7 +477,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx) if (ctx->cid_table->frame_size == DNXHD_VARIABLE) { ctx->frame_size = ff_dnxhd_get_hr_frame_size(ctx->cid, - ctx->m.mb_width, ctx->m.mb_height); + avctx->width, avctx->height); ctx->coding_unit_size = ctx->frame_size; } else { ctx->frame_size = ctx->cid_table->frame_size; |