[FFmpeg-devel] [PATCH] avcodec: remove FLAG2_FAST mode

James Almer jamrial at gmail.com
Wed Jun 3 20:37:56 EEST 2020


On 6/3/2020 2:23 PM, Kieran Kunhya wrote:
> $subj

> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index c91b2fd169..f5a91ba59a 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -342,10 +342,6 @@ typedef struct RcOverride{
>  #define AV_CODEC_FLAG_INTERLACED_ME   (1 << 29)
>  #define AV_CODEC_FLAG_CLOSED_GOP      (1U << 31)
>  
> -/**
> - * Allow non spec compliant speedup tricks.
> - */
> -#define AV_CODEC_FLAG2_FAST           (1 <<  0)
>  /**
>   * Skip bitstream encoding.
>   */

I have no opinion about this flag (Other than what i already stated that
it should not be used to run code with potential security issues), but
come on, you know this is not how public API is removed.


More information about the ffmpeg-devel mailing list