diff mbox

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

Message ID 20191230110958.6188-5-lance.lmwang@gmail.com
State Accepted
Commit a058d81570e037fd36c427f0bf5237184361ebdc
Headers show

Commit Message

Limin Wang Dec. 30, 2019, 11:09 a.m. UTC
From: Limin Wang <lance.lmwang@gmail.com>

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
---
 libavfilter/vf_signalstats.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Limin Wang May 7, 2020, 11:22 p.m. UTC | #1
On Mon, Dec 30, 2019 at 07:09:58PM +0800, lance.lmwang@gmail.com wrote:
> From: Limin Wang <lance.lmwang@gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmwang@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
> 

ping for th patchset for review.
Limin Wang May 10, 2020, 3:49 a.m. UTC | #2
On Mon, Dec 30, 2019 at 07:09:58PM +0800, lance.lmwang@gmail.com wrote:
> From: Limin Wang <lance.lmwang@gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmwang@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.
diff mbox

Patch

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;