diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-27 18:50:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-27 18:50:18 +0200 |
commit | ee189701a6f7fec56570ee3728d5d80378cbadd3 (patch) | |
tree | 53f1203c4eb82be52d59cb9a0b93dc53b573ebd4 /libavcodec/j2kenc.c | |
parent | 243cc38d944b1a457178d5984d250321361301b3 (diff) | |
download | ffmpeg-ee189701a6f7fec56570ee3728d5d80378cbadd3.tar.gz |
j2kenc: Allow encoding with the 9/7 wavelet
Also add a fate test that tests 9/7
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 7807552706..bd90d4e55d 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -985,7 +985,7 @@ static av_cold int j2kenc_init(AVCodecContext *avctx) codsty->nreslevels = 7; codsty->log2_cblk_width = 4; codsty->log2_cblk_height = 4; - codsty->transform = 1; + codsty->transform = avctx->prediction_method; qntsty->nguardbits = 1; |