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
9cd62b2c
Commit
9cd62b2c
authored
May 12, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_pad: revert part of
57c36708
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
ccce2248
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
vf_pad.c
libavfilter/vf_pad.c
+4
-1
No files found.
libavfilter/vf_pad.c
View file @
9cd62b2c
...
...
@@ -197,7 +197,10 @@ static int config_input(AVFilterLink *inlink)
inlink
->
w
,
inlink
->
h
,
s
->
w
,
s
->
h
,
s
->
x
,
s
->
y
,
s
->
rgba_color
[
0
],
s
->
rgba_color
[
1
],
s
->
rgba_color
[
2
],
s
->
rgba_color
[
3
]);
if
(
s
->
w
<=
0
||
s
->
h
<=
0
)
{
if
(
s
->
x
<
0
||
s
->
y
<
0
||
s
->
w
<=
0
||
s
->
h
<=
0
||
(
unsigned
)
s
->
x
+
(
unsigned
)
inlink
->
w
>
s
->
w
||
(
unsigned
)
s
->
y
+
(
unsigned
)
inlink
->
h
>
s
->
h
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Input area %d:%d:%d:%d not within the padded area 0:0:%d:%d or zero-sized
\n
"
,
s
->
x
,
s
->
y
,
s
->
x
+
inlink
->
w
,
s
->
y
+
inlink
->
h
,
s
->
w
,
s
->
h
);
...
...
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