[FFmpeg-cvslog] dnxhdenc: fix speed regression
Michael Niedermayer
git at videolan.org
Tue Sep 25 18:11:12 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 25 18:05:02 2012 +0200| [49331f7ba3e3214738864af96d22fb1e6b5463b7] | committer: Michael Niedermayer
dnxhdenc: fix speed regression
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49331f7ba3e3214738864af96d22fb1e6b5463b7
---
libavcodec/dnxhdenc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index 7644a07..c8b031e 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;
More information about the ffmpeg-cvslog
mailing list