[FFmpeg-devel] [PATCH v20 01/20] avcodec, avutil: Move enum AVSubtitleType to avutil, add new and deprecate old values

Anton Khirnov anton at khirnov.net
Mon Dec 6 17:33:03 EET 2021


Quoting Soft Works (2021-12-05 17:23:32)
> +
> +enum AVSubtitleType {
> +
> +    /**
> +     * Subtitle format unknown.
> +     */
> +    AV_SUBTITLE_FMT_NONE = -1,
> +
> +    /**
> +     * Subtitle format unknown.
> +     */
> +    AV_SUBTITLE_FMT_UNKNOWN = 0,
> +#ifdef FF_API_OLD_SUBTITLES

These should be #if, not #ifdef

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list