Add missing PIX_FMT_NONE to libopenjpegenc
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 1 Jan 2012 20:52:45 +0000 (21:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Jan 2012 22:46:58 +0000 (23:46 +0100)
fixes ticket #813

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libopenjpegenc.c

index c088acc..721e6bb 100644 (file)
@@ -371,6 +371,7 @@ AVCodec ff_libopenjpeg_encoder = {
                                            PIX_FMT_YUV440P,PIX_FMT_YUV444P,
                                            PIX_FMT_YUV420P9,PIX_FMT_YUV422P9,PIX_FMT_YUV444P9,
                                            PIX_FMT_YUV420P10,PIX_FMT_YUV422P10,PIX_FMT_YUV444P10,
-                                           PIX_FMT_YUV420P16,PIX_FMT_YUV422P16,PIX_FMT_YUV444P16},
+                                           PIX_FMT_YUV420P16,PIX_FMT_YUV422P16,PIX_FMT_YUV444P16,
+                                           PIX_FMT_NONE},
     .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 encoder"),
 } ;