Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
671563d9
Commit
671563d9
authored
Mar 18, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_crop: cosmetics, break lines
parent
7f839595
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
vf_crop.c
libavfilter/vf_crop.c
+7
-3
No files found.
libavfilter/vf_crop.c
View file @
671563d9
...
...
@@ -167,16 +167,20 @@ static int config_input(AVFilterLink *link)
if
((
ret
=
av_expr_parse_and_eval
(
&
res
,
(
expr
=
s
->
ow_expr
),
var_names
,
s
->
var_values
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
ctx
))
<
0
)
goto
fail_expr
;
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
ctx
))
<
0
)
goto
fail_expr
;
s
->
var_values
[
VAR_OUT_W
]
=
s
->
var_values
[
VAR_OW
]
=
res
;
if
((
ret
=
av_expr_parse_and_eval
(
&
res
,
(
expr
=
s
->
oh_expr
),
var_names
,
s
->
var_values
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
ctx
))
<
0
)
goto
fail_expr
;
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
ctx
))
<
0
)
goto
fail_expr
;
s
->
var_values
[
VAR_OUT_H
]
=
s
->
var_values
[
VAR_OH
]
=
res
;
/* evaluate again ow as it may depend on oh */
if
((
ret
=
av_expr_parse_and_eval
(
&
res
,
(
expr
=
s
->
ow_expr
),
var_names
,
s
->
var_values
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
ctx
))
<
0
)
goto
fail_expr
;
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
ctx
))
<
0
)
goto
fail_expr
;
s
->
var_values
[
VAR_OUT_W
]
=
s
->
var_values
[
VAR_OW
]
=
res
;
if
(
normalize_double
(
&
s
->
w
,
s
->
var_values
[
VAR_OUT_W
])
<
0
||
normalize_double
(
&
s
->
h
,
s
->
var_values
[
VAR_OUT_H
])
<
0
)
{
...
...
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