diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-25 18:05:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-25 18:10:11 +0200 |
commit | 49331f7ba3e3214738864af96d22fb1e6b5463b7 (patch) | |
tree | 71eaf6a8e4619c3ccb7d6e1a0d2f422776b8a017 /libavcodec | |
parent | 6b33e918996e8a4e40071cb0a273c23de22ce1fc (diff) | |
download | ffmpeg-49331f7ba3e3214738864af96d22fb1e6b5463b7.tar.gz |
dnxhdenc: fix speed regression
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 7644a07f8f..c8b031e739 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -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; |