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
460df969
Commit
460df969
authored
Nov 19, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: fix indentation
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
e75fe0ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
16 deletions
+14
-16
af_agate.c
libavfilter/af_agate.c
+7
-8
af_sidechaincompress.c
libavfilter/af_sidechaincompress.c
+7
-8
No files found.
libavfilter/af_agate.c
View file @
460df969
...
...
@@ -323,14 +323,13 @@ static int activate(AVFilterContext *ctx)
}
FF_FILTER_FORWARD_STATUS
(
ctx
->
inputs
[
0
],
ctx
->
outputs
[
0
]);
FF_FILTER_FORWARD_STATUS
(
ctx
->
inputs
[
1
],
ctx
->
outputs
[
0
]);
/* TODO reindent */
if
(
ff_outlink_frame_wanted
(
ctx
->
outputs
[
0
]))
{
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
0
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
0
]);
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
1
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
1
]);
}
return
0
;
if
(
ff_outlink_frame_wanted
(
ctx
->
outputs
[
0
]))
{
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
0
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
0
]);
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
1
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
1
]);
}
return
0
;
}
static
int
scquery_formats
(
AVFilterContext
*
ctx
)
...
...
libavfilter/af_sidechaincompress.c
View file @
460df969
...
...
@@ -241,14 +241,13 @@ static int activate(AVFilterContext *ctx)
}
FF_FILTER_FORWARD_STATUS
(
ctx
->
inputs
[
0
],
ctx
->
outputs
[
0
]);
FF_FILTER_FORWARD_STATUS
(
ctx
->
inputs
[
1
],
ctx
->
outputs
[
0
]);
/* TODO reindent */
if
(
ff_outlink_frame_wanted
(
ctx
->
outputs
[
0
]))
{
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
0
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
0
]);
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
1
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
1
]);
}
return
0
;
if
(
ff_outlink_frame_wanted
(
ctx
->
outputs
[
0
]))
{
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
0
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
0
]);
if
(
!
av_audio_fifo_size
(
s
->
fifo
[
1
]))
ff_inlink_request_frame
(
ctx
->
inputs
[
1
]);
}
return
0
;
}
static
int
query_formats
(
AVFilterContext
*
ctx
)
...
...
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