[FFmpeg-cvslog] lavfi/aspect: apply style fixes

Stefano Sabatini git at videolan.org
Wed Mar 29 01:19:55 EEST 2023


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Mar 26 20:08:56 2023 +0200| [7d58df7bb2b01be7a8ed8f4dfec183e3f96dd764] | committer: Stefano Sabatini

lavfi/aspect: apply style fixes

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

 libavfilter/vf_aspect.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c
index 0a10a5a176..b453de70c5 100644
--- a/libavfilter/vf_aspect.c
+++ b/libavfilter/vf_aspect.c
@@ -41,7 +41,8 @@
 static const char *const var_names[] = {
     "w",
     "h",
-    "a", "dar",
+    "a",
+    "dar",
     "sar",
     "hsub",
     "vsub",
@@ -51,7 +52,8 @@ static const char *const var_names[] = {
 enum var_name {
     VAR_W,
     VAR_H,
-    VAR_A, VAR_DAR,
+    VAR_A,
+    VAR_DAR,
     VAR_SAR,
     VAR_HSUB,
     VAR_VSUB,
@@ -105,8 +107,8 @@ static int get_aspect_ratio(AVFilterLink *inlink, AVRational *aspect_ratio)
 
     /* evaluate new aspect ratio*/
     ret = av_expr_parse_and_eval(&res, s->ratio_expr,
-                                      var_names, var_values,
-                                      NULL, NULL, NULL, NULL, NULL, 0, ctx);
+                                 var_names, var_values,
+                                 NULL, NULL, NULL, NULL, NULL, 0, ctx);
     if (ret < 0) {
         ret = av_parse_ratio(aspect_ratio, s->ratio_expr, s->max, 0, ctx);
     } else



More information about the ffmpeg-cvslog mailing list