Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
7d58df7b
Commit
7d58df7b
authored
Mar 26, 2023
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/aspect: apply style fixes
parent
5c133079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
vf_aspect.c
libavfilter/vf_aspect.c
+6
-4
No files found.
libavfilter/vf_aspect.c
View file @
7d58df7b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment