[FFmpeg-devel] [PATCH] avcodec/libx265: use x265 Multi-library Interface to query the API

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri May 8 21:08:52 CEST 2015


On 5/7/2015 10:17 AM, Gopu Govindaswamy wrote:
> Hello,
> 
> this patch is ffmpeg can now use the x265 multi-library interface to make a
> run-time selection between a number of libx265 libraries (perhaps 8bpp and
> 16bpp).
> 
> I have attached the patch with this mail,

[...]

> -    x265_picture x265pic_out = { 0 };
> +    x265_picture x265pic_out = { { 0 } };

Unrelated change.

> -    ret = x265_encoder_encode(ctx->encoder, &nal, &nnal,
> +    ret = ctx->api->encoder_encode(ctx->encoder, &nal, &nnal,
>                                pic ? &x265pic : NULL, &x265pic_out);

Line needs re-indent.

Other than that, I think it can be applied.

- Derek



More information about the ffmpeg-devel mailing list