Commit bb3703a4 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/j2kenc: YUV should not use the ICT

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d1dce1c5
......@@ -271,7 +271,7 @@ static int put_cod(Jpeg2000EncoderContext *s)
bytestream_put_byte(&s->buf, 0); // progression level
bytestream_put_be16(&s->buf, 1); // num of layers
if(s->avctx->pix_fmt == AV_PIX_FMT_YUV444P){
bytestream_put_byte(&s->buf, 2); // ICT
bytestream_put_byte(&s->buf, 0); // unspecified
}else{
bytestream_put_byte(&s->buf, 0); // unspecified
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment