[x264-devel] [PATCH 21/32] Include an implementation file to wrap the appropriate call

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Jan 23 17:28:45 CET 2017


On 1/20/2017 2:20 PM, Vittorio Giovara wrote:
> +int x264_encoder_headers( x264_t *h, x264_nal_t **pp_nal, int *pi_nal )
> +{
> +    x264_api_t *api = (x264_api_t *)h;
> +
> +    return api->x264_encoder_headers( api->x264, pp_nal, pi_nal );
> +}

Devil's Advocate: These all do basically the same thing. Can it be macro'd?

- Derek


More information about the x264-devel mailing list