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}