aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-27 19:25:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-27 19:30:19 +0200
commit34ac8ec2eaf8a7cc256c19a984c1be8f20db3f31 (patch)
tree53ed978168ed9e20e9603e01e475f23b1bdb1cd2
parentc4b269c5c6ea67a23155951321dea387a50896dc (diff)
downloadffmpeg-34ac8ec2eaf8a7cc256c19a984c1be8f20db3f31.tar.gz
j2kenc: enable 4:2:0 YUV it works as "well" as the other subsampled yuv formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/j2kenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index ba31f2b783..1c2e89a922 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -1041,6 +1041,7 @@ AVCodec ff_jpeg2000_encoder = {
.capabilities= CODEC_CAP_EXPERIMENTAL,
.pix_fmts =
(enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24,
+ PIX_FMT_YUV420P,
PIX_FMT_YUV422P, PIX_FMT_YUV444P,
PIX_FMT_YUV410P, PIX_FMT_YUV411P,
-1}