mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-19 21:36:54 +00:00
avcodec/dnxhdenc: fix recent regression
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
b9e4bbc686
commit
f6b5a5c7d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user