aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-27 21:04:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-27 21:32:39 +0200
commit398b5327a397090e2ec98d8030ed81574e8d607a (patch)
tree556890684c4db3041ac46322836f749f87d6be2a
parent2214a67de582d47ee1ba84771df61e8466cc9c92 (diff)
downloadffmpeg-398b5327a397090e2ec98d8030ed81574e8d607a.tar.gz
j2kenc: only list pixel formats that fully work currently.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/j2kenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index 4832b295f1..5a08cb7668 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -1044,9 +1044,9 @@ AVCodec ff_jpeg2000_encoder = {
j2kenc_destroy,
.capabilities= CODEC_CAP_EXPERIMENTAL,
.pix_fmts =
- (enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24,
- PIX_FMT_YUV420P,
+ (enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_YUV444P, PIX_FMT_GRAY8,
+/* PIX_FMT_YUV420P,
PIX_FMT_YUV422P, PIX_FMT_YUV444P,
- PIX_FMT_YUV410P, PIX_FMT_YUV411P,
+ PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/
-1}
};