On Wed, Oct 02, 2013 at 04:51:53PM -0400, Justin Ruggles wrote:
> On 10/02/2013 04:35 PM, Diego Biurrun wrote:
> >>>+AVCodec ff_libx265_encoder = {
> >>>+ .name = "libx265",
> >>>+ .type = AVMEDIA_TYPE_VIDEO,
> >>>+ .id = AV_CODEC_ID_HEVC,
> >>>+ .init = libx265_encode_init,
> >>>+ .encode2 = libx265_encode_frame,
> >>>+ .close = libx265_encode_close,
> >>>+ .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P,
> >>>AV_PIX_FMT_NONE },
> >>>+ .priv_data_size = sizeof(libx265Context),
> >>>+ .long_name = NULL_IF_CONFIG_SMALL("libx265 H.265 / HEVC"),
> >Move .long_name after .name.
>
> I just want to note that this will keep happening as long as it's
> not changed in all AVCodecs because copy/paste of a similar codec is
> the easiest way to get started creating a new one.
What? You're trying to troll me into a cleanup? :)
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel