Commit 49331f7b authored by Michael Niedermayer's avatar Michael Niedermayer

dnxhdenc: fix speed regression

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6b33e918
......@@ -281,6 +281,8 @@ static int dnxhd_encode_init(AVCodecContext *avctx)
avctx->bits_per_raw_sample = ctx->cid_table->bit_depth;
ff_dct_common_init(&ctx->m);
ff_dct_encode_init(&ctx->m);
if (!ctx->m.dct_quantize)
ctx->m.dct_quantize = ff_dct_quantize_c;
......
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