[FFmpeg-devel] [PATCH v3 11/18] swscale: expose SwsContext publicly

Anton Khirnov anton at khirnov.net
Thu Oct 24 12:14:32 EEST 2024


Quoting Niklas Haas (2024-10-20 22:05:20)
> +/**
> + * Main external API structure. New fields can be added to the end with
> + * minor version bumps. Removal, reordering and changes to existing fields
> + * require a major version bump. sizeof(SwsContext) is not part of the ABI.
> + */
> +typedef struct SwsContext {
> +    const AVClass *av_class;
> +
> +    /**
> +     * Private context used for internal data.
> +     */
> +    struct SwsInternal *internal;

Why is this visible in the public context?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list