From dd1382ac9534bd9b5ec7833eed9ab6f383e68a50 Mon Sep 17 00:00:00 2001 From: Nicolas Bertrand Date: Fri, 12 Jul 2013 23:01:43 +0200 Subject: jpeg2000: Initialize only once mqc arrays Increases encoding and decoding speed Signed-off-by: Michael Niedermayer --- libavcodec/j2kenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/j2kenc.c') diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index e4c84efd1a..48c1db8071 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -1016,7 +1016,7 @@ static av_cold int j2kenc_init(AVCodecContext *avctx) } ff_jpeg2000_init_tier1_luts(); - + ff_mqc_init_context_tables(); init_luts(); init_quantization(s); -- cgit v1.2.1