dnxhdenc: fix speed regression

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-09-25 18:05:02 +02:00
parent 6b33e91899
commit 49331f7ba3
1 changed files with 2 additions and 0 deletions

View File

@ -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;