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
65e6850c
Commit
65e6850c
authored
Dec 02, 2019
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: remove ff_poll_frame().
It is never used.
parent
9ea7e689
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
avfilter.c
libavfilter/avfilter.c
+0
-18
internal.h
libavfilter/internal.h
+0
-9
No files found.
libavfilter/avfilter.c
View file @
65e6850c
...
...
@@ -467,24 +467,6 @@ static int ff_request_frame_to_filter(AVFilterLink *link)
return
ret
;
}
int
ff_poll_frame
(
AVFilterLink
*
link
)
{
int
i
,
min
=
INT_MAX
;
if
(
link
->
srcpad
->
poll_frame
)
return
link
->
srcpad
->
poll_frame
(
link
);
for
(
i
=
0
;
i
<
link
->
src
->
nb_inputs
;
i
++
)
{
int
val
;
if
(
!
link
->
src
->
inputs
[
i
])
return
AVERROR
(
EINVAL
);
val
=
ff_poll_frame
(
link
->
src
->
inputs
[
i
]);
min
=
FFMIN
(
min
,
val
);
}
return
min
;
}
static
const
char
*
const
var_names
[]
=
{
"t"
,
"n"
,
...
...
libavfilter/internal.h
View file @
65e6850c
...
...
@@ -289,15 +289,6 @@ static inline int ff_insert_outpad(AVFilterContext *f, unsigned index,
&
f
->
output_pads
,
&
f
->
outputs
,
p
);
}
/**
* Poll a frame from the filter chain.
*
* @param link the input link
* @return the number of immediately available frames, a negative
* number in case of error
*/
int
ff_poll_frame
(
AVFilterLink
*
link
);
/**
* Request an input frame from the filter at the other end of the link.
*
...
...
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