aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-19 04:51:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-19 05:12:06 +0200
commitbb3703a4c30659d7ae7b41a94455ce810bbc102b (patch)
tree27dbb454ee7e3ee99d02c2b70a850e0adeec4354 /libavcodec
parentd1dce1c51728b35a31248be81915f2ce6fcbb807 (diff)
downloadffmpeg-bb3703a4c30659d7ae7b41a94455ce810bbc102b.tar.gz
avcodec/j2kenc: YUV should not use the ICT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/j2kenc.c2
1 files changed, 1 insertions, 1 deletions
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
}