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
35c3043e
Commit
35c3043e
authored
Oct 02, 2015
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/avf_showspectrum: reindent after last commit.
parent
4883e5d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
avf_showspectrum.c
libavfilter/avf_showspectrum.c
+10
-11
No files found.
libavfilter/avf_showspectrum.c
View file @
35c3043e
...
...
@@ -267,18 +267,17 @@ static int request_frame(AVFilterLink *outlink)
unsigned
i
;
int
ret
;
/* TODO reindent */
ret
=
ff_request_frame
(
inlink
);
if
(
ret
==
AVERROR_EOF
&&
s
->
sliding
==
FULLFRAME
&&
s
->
xpos
>
0
&&
s
->
outpicref
)
{
for
(
i
=
0
;
i
<
outlink
->
h
;
i
++
)
{
memset
(
s
->
outpicref
->
data
[
0
]
+
i
*
s
->
outpicref
->
linesize
[
0
]
+
s
->
xpos
,
0
,
outlink
->
w
-
s
->
xpos
);
memset
(
s
->
outpicref
->
data
[
1
]
+
i
*
s
->
outpicref
->
linesize
[
1
]
+
s
->
xpos
,
128
,
outlink
->
w
-
s
->
xpos
);
memset
(
s
->
outpicref
->
data
[
2
]
+
i
*
s
->
outpicref
->
linesize
[
2
]
+
s
->
xpos
,
128
,
outlink
->
w
-
s
->
xpos
);
}
ret
=
ff_filter_frame
(
outlink
,
s
->
outpicref
);
s
->
outpicref
=
NULL
;
ret
=
ff_request_frame
(
inlink
);
if
(
ret
==
AVERROR_EOF
&&
s
->
sliding
==
FULLFRAME
&&
s
->
xpos
>
0
&&
s
->
outpicref
)
{
for
(
i
=
0
;
i
<
outlink
->
h
;
i
++
)
{
memset
(
s
->
outpicref
->
data
[
0
]
+
i
*
s
->
outpicref
->
linesize
[
0
]
+
s
->
xpos
,
0
,
outlink
->
w
-
s
->
xpos
);
memset
(
s
->
outpicref
->
data
[
1
]
+
i
*
s
->
outpicref
->
linesize
[
1
]
+
s
->
xpos
,
128
,
outlink
->
w
-
s
->
xpos
);
memset
(
s
->
outpicref
->
data
[
2
]
+
i
*
s
->
outpicref
->
linesize
[
2
]
+
s
->
xpos
,
128
,
outlink
->
w
-
s
->
xpos
);
}
ret
=
ff_filter_frame
(
outlink
,
s
->
outpicref
);
s
->
outpicref
=
NULL
;
}
return
ret
;
}
...
...
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