----- Original Message -----

> From: Aneesh Dogra <[email protected]>
> To: [email protected]
> Cc: 
> Sent: Wednesday, February 15, 2012 2:54 AM
> Subject: [libav-devel] [PATCH] Sun Rasterfile Encoder
> 
> ---
> Changelog               |    1 +
> libavcodec/Makefile     |    1 +
> libavcodec/allcodecs.c  |    2 +-
> libavcodec/sunrastenc.c |  246 +++++++++++++++++++++++++++++++++++++++++++++++
> libavformat/img2.c      |    3 +-
> 5 files changed, 251 insertions(+), 2 deletions(-)
> create mode 100644 libavcodec/sunrastenc.c
> 
[...]
> +

> +AVCodec ff_sunrast_encoder = {
> +    .name           = "sunrast",
> +    .type           = AVMEDIA_TYPE_VIDEO,
> +    .id             = CODEC_ID_SUNRAST,
> +    .priv_data_size = sizeof(SUNRASTContext),
> +    .init           = sunrast_encode_init,
> +    .encode2        = sunrast_encode_frame,
> +    .capabilities   = CODEC_CAP_DR1,
> +    .pix_fmts       = (const enum PixelFormat[]){ PIX_FMT_BGR24,
> +                                                  PIX_FMT_PAL8,
> +                                                  PIX_FMT_GRAY8,
> +                                                  PIX_FMT_MONOWHITE },

shouldn't there be a PIX_FMT_NONE at the end?

> +    .long_name      = NULL_IF_CONFIG_SMALL("Sun Rasterfile image 
> Encoder"),
> +};
[...]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to