diff options
author | Nicolas Bertrand <nicoinattendu@gmail.com> | 2013-07-12 23:01:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-12 23:43:09 +0200 |
commit | dd1382ac9534bd9b5ec7833eed9ab6f383e68a50 (patch) | |
tree | b9a3d04b87897df874a124d3699f75122b223fa1 /libavcodec/j2kenc.c | |
parent | 7f4a1fddd39e331464e443f95f10e225882b5c53 (diff) | |
download | ffmpeg-dd1382ac9534bd9b5ec7833eed9ab6f383e68a50.tar.gz |
jpeg2000: Initialize only once mqc arrays
Increases encoding and decoding speed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/j2kenc.c')
-rw-r--r-- | libavcodec/j2kenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |