History

lavfi/aspect: apply style fixes

Stefano Sabatini committed 3 years ago

Commit 7d58df71 parent 5c133071 file · +6 −4Browse files

Unified · Split

libavfilter/vf_aspect.c+6−4
@@ -41,7 +41,8 @@ · 40 unmodified lines
4141 static const char *const var_names[] = {
4242 "w",
4343 "h",
44− "a", "dar",
44+ "a",
45+ "dar",
4546 "sar",
4647 "hsub",
4748 "vsub",
@@ -51,7 +52,8 @@ static const char *const var_names[] = { · 3 unmodified lines
5152 enum var_name {
5253 VAR_W,
5354 VAR_H,
54− VAR_A, VAR_DAR,
55+ VAR_A,
56+ VAR_DAR,
5557 VAR_SAR,
5658 VAR_HSUB,
5759 VAR_VSUB,
@@ -105,8 +107,8 @@ static int get_aspect_ratio(AVFilterLink *inlink, AVRational *aspect_ratio) · 47 unmodified lines
105107
106108 /* evaluate new aspect ratio*/
107109 ret = av_expr_parse_and_eval(&res, s->ratio_expr,
108− var_names, var_values,
109− NULL, NULL, NULL, NULL, NULL, 0, ctx);
110+ var_names, var_values,
111+ NULL, NULL, NULL, NULL, NULL, 0, ctx);
110112 if (ret < 0) {
111113 ret = av_parse_ratio(aspect_ratio, s->ratio_expr, s->max, 0, ctx);
112114 } else

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t