From bb3703a4c30659d7ae7b41a94455ce810bbc102b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 19 Jun 2015 04:51:59 +0200 Subject: [PATCH] avcodec/j2kenc: YUV should not use the ICT Signed-off-by: Michael Niedermayer --- libavcodec/j2kenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index 68905cc2d3..6a5fd3610f 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -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 }