mirror of https://git.ffmpeg.org/ffmpeg.git
dnxhdenc: fix speed regression
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6b33e91899
commit
49331f7ba3
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue