[FFmpeg-devel] [PATCH]Add missing PIX_FMT_NONE to libopenjpegenc

Michael Niedermayer michaelni at gmx.at
Tue Dec 27 01:55:21 CET 2011


On Sun, Dec 25, 2011 at 03:27:41AM +0100, Carl-Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #813.
> 
> Please comment, Carl Eugen

>  libopenjpegenc.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> af2ad818e70daec29b67551d082ac60a99b0b1fb  patchj2kNONE.diff
> 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},

LGTM, but iam not maintainer ...
michael ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111227/75321d85/attachment.asc>


More information about the ffmpeg-devel mailing list