Browse Source

avcodec/j2kenc: YUV should not use the ICT

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
bb3703a4c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/j2kenc.c

+ 1
- 1
libavcodec/j2kenc.c View 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
}


Loading…
Cancel
Save