[FFmpeg-devel] [PATCH 2/2] avfilter/vf_waveform: flat_pix_fmts never used

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sat Jan 23 23:00:52 EET 2021


Peter Ross:
> ---
>  libavfilter/vf_waveform.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c
> index 11f8c0016e..8191da2792 100644
> --- a/libavfilter/vf_waveform.c
> +++ b/libavfilter/vf_waveform.c
> @@ -303,13 +303,6 @@ static const enum AVPixelFormat out_gray12_lowpass_pix_fmts[] = {
>      AV_PIX_FMT_NONE
>  };
>  
> -static const enum AVPixelFormat flat_pix_fmts[] = {
> -    AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUVJ444P,
> -    AV_PIX_FMT_YUV444P9, AV_PIX_FMT_YUV444P10,
> -    AV_PIX_FMT_YUV444P12,
> -    AV_PIX_FMT_NONE
> -};
> -
>  static int query_formats(AVFilterContext *ctx)
>  {
>      WaveformContext *s = ctx->priv;
> 
> 
LGTM.

- Andreas


More information about the ffmpeg-devel mailing list