[FFmpeg-cvslog] Add missing PIX_FMT_NONE to libopenjpegenc

Carl Eugen Hoyos git at videolan.org
Tue Jan 3 13:54:34 CET 2012


ffmpeg | branch: release/0.9 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Jan  1 21:52:45 2012 +0100| [980e4263bc7a91af2b3a8afbbd41d261292d1b35] | committer: Carl Eugen Hoyos

Add missing PIX_FMT_NONE to libopenjpegenc

fixes ticket #813

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Reviewed-by: Jean First <jeanfirst at gmail.com>
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit ef611095f0d0c1256cbb6654f94cae61a60f2736)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=980e4263bc7a91af2b3a8afbbd41d261292d1b35
---

 libavcodec/libopenjpegenc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c
index 6b37fb0..409abd6 100644
--- a/libavcodec/libopenjpegenc.c
+++ b/libavcodec/libopenjpegenc.c
@@ -372,6 +372,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"),
 } ;



More information about the ffmpeg-cvslog mailing list