avcodec/j2kenc: YUV should not use the ICT
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 19 Jun 2015 02:51:59 +0000 (04:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 19 Jun 2015 03:12:06 +0000 (05:12 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/j2kenc.c

index 68905cc..6a5fd36 100644 (file)
@@ -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
     }