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

lance.lmwang at gmail.com lance.lmwang at gmail.com
Mon Dec 30 13:09:58 EET 2019


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



More information about the ffmpeg-devel mailing list