[FFmpeg-devel] [PATCH v1 5/5] avfilter/vf_signalstats: reindent after last commit

lance.lmwang at gmail.com lance.lmwang at gmail.com
Sun May 10 06:49:29 EEST 2020


On Mon, Dec 30, 2019 at 07:09:58PM +0800, lance.lmwang at gmail.com wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
>  libavfilter/vf_signalstats.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/libavfilter/vf_signalstats.c b/libavfilter/vf_signalstats.c
> index 8b2a9ca7c2..1ccc16dd38 100644
> --- a/libavfilter/vf_signalstats.c
> +++ b/libavfilter/vf_signalstats.c
> @@ -168,13 +168,13 @@ static int config_output(AVFilterLink *outlink)
>      s->vsub = desc->log2_chroma_h;
>      s->depth = desc->comp[0].depth;
>      s->maxsize = 1 << s->depth;
> -        s->histy = av_malloc_array(s->maxsize, sizeof(*s->histy));
> -        s->histu = av_malloc_array(s->maxsize, sizeof(*s->histu));
> -        s->histv = av_malloc_array(s->maxsize, sizeof(*s->histv));
> -        s->histsat = av_malloc_array(s->maxsize, sizeof(*s->histsat));
> +    s->histy = av_malloc_array(s->maxsize, sizeof(*s->histy));
> +    s->histu = av_malloc_array(s->maxsize, sizeof(*s->histu));
> +    s->histv = av_malloc_array(s->maxsize, sizeof(*s->histv));
> +    s->histsat = av_malloc_array(s->maxsize, sizeof(*s->histsat));
>  
> -        if (!s->histy || !s->histu || !s->histv || !s->histsat)
> -            return AVERROR(ENOMEM);
> +    if (!s->histy || !s->histu || !s->histv || !s->histsat)
> +        return AVERROR(ENOMEM);
>  
>      outlink->w = inlink->w;
>      outlink->h = inlink->h;
> -- 
> 2.21.0
> 

will apply the patchset tomorrow if no comments.

-- 
Thanks,
Limin Wang


More information about the ffmpeg-devel mailing list