[FFmpeg-cvslog] lavfi: cosmetics: fix vertical alignment for pads in some filters

Paul B Mahol git at videolan.org
Tue May 14 17:44:29 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue May 14 15:27:25 2013 +0000| [811b17fbad07c1a34ed249e0df461fc33ff8a64b] | committer: Paul B Mahol

lavfi: cosmetics: fix vertical alignment for pads in some filters

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=811b17fbad07c1a34ed249e0df461fc33ff8a64b
---

 libavfilter/vf_colorbalance.c      |   18 +++++++++---------
 libavfilter/vf_colorchannelmixer.c |   18 +++++++++---------
 libavfilter/vf_curves.c            |   10 +++++-----
 3 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/libavfilter/vf_colorbalance.c b/libavfilter/vf_colorbalance.c
index 74ee4d4..ca6c781 100644
--- a/libavfilter/vf_colorbalance.c
+++ b/libavfilter/vf_colorbalance.c
@@ -185,20 +185,20 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
 
 static const AVFilterPad colorbalance_inputs[] = {
     {
-        .name           = "default",
-        .type           = AVMEDIA_TYPE_VIDEO,
-        .filter_frame   = filter_frame,
+        .name         = "default",
+        .type         = AVMEDIA_TYPE_VIDEO,
+        .filter_frame = filter_frame,
     },
     { NULL }
 };
 
 static const AVFilterPad colorbalance_outputs[] = {
-     {
-         .name         = "default",
-         .type         = AVMEDIA_TYPE_VIDEO,
-         .config_props = config_output,
-     },
-     { NULL }
+    {
+        .name         = "default",
+        .type         = AVMEDIA_TYPE_VIDEO,
+        .config_props = config_output,
+    },
+    { NULL }
 };
 
 AVFilter avfilter_vf_colorbalance = {
diff --git a/libavfilter/vf_colorchannelmixer.c b/libavfilter/vf_colorchannelmixer.c
index c187c20..9c0044d 100644
--- a/libavfilter/vf_colorchannelmixer.c
+++ b/libavfilter/vf_colorchannelmixer.c
@@ -331,20 +331,20 @@ static av_cold void uninit(AVFilterContext *ctx)
 
 static const AVFilterPad colorchannelmixer_inputs[] = {
     {
-        .name           = "default",
-        .type           = AVMEDIA_TYPE_VIDEO,
-        .filter_frame   = filter_frame,
+        .name         = "default",
+        .type         = AVMEDIA_TYPE_VIDEO,
+        .filter_frame = filter_frame,
     },
     { NULL }
 };
 
 static const AVFilterPad colorchannelmixer_outputs[] = {
-     {
-         .name         = "default",
-         .type         = AVMEDIA_TYPE_VIDEO,
-         .config_props = config_output,
-     },
-     { NULL }
+    {
+        .name         = "default",
+        .type         = AVMEDIA_TYPE_VIDEO,
+        .config_props = config_output,
+    },
+    { NULL }
 };
 
 AVFilter avfilter_vf_colorchannelmixer = {
diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index c5bbdfa..6356cef 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -532,11 +532,11 @@ static const AVFilterPad curves_inputs[] = {
 };
 
 static const AVFilterPad curves_outputs[] = {
-     {
-         .name = "default",
-         .type = AVMEDIA_TYPE_VIDEO,
-     },
-     { NULL }
+    {
+        .name = "default",
+        .type = AVMEDIA_TYPE_VIDEO,
+    },
+    { NULL }
 };
 
 AVFilter avfilter_vf_curves = {



More information about the ffmpeg-cvslog mailing list