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
1433c4ab
Commit
1433c4ab
authored
Nov 24, 2009
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement avfilter_next().
Originally committed as revision 20607 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
73e2247d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
avfilter.c
libavfilter/avfilter.c
+5
-0
avfilter.h
libavfilter/avfilter.h
+9
-1
No files found.
libavfilter/avfilter.c
View file @
1433c4ab
...
...
@@ -354,6 +354,11 @@ int avfilter_register(AVFilter *filter)
return
0
;
}
AVFilter
**
av_filter_next
(
AVFilter
**
filter
)
{
return
filter
?
++
filter
:
&
registered_avfilters
[
0
];
}
void
avfilter_uninit
(
void
)
{
memset
(
registered_avfilters
,
0
,
sizeof
(
registered_avfilters
));
...
...
libavfilter/avfilter.h
View file @
1433c4ab
...
...
@@ -25,7 +25,7 @@
#include "libavutil/avutil.h"
#define LIBAVFILTER_VERSION_MAJOR 1
#define LIBAVFILTER_VERSION_MINOR
9
#define LIBAVFILTER_VERSION_MINOR
10
#define LIBAVFILTER_VERSION_MICRO 0
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
@@ -594,6 +594,14 @@ int avfilter_register(AVFilter *filter);
*/
AVFilter
*
avfilter_get_by_name
(
const
char
*
name
);
/**
* If filter is NULL, returns a pointer to the first registered filter pointer,
* if filter is non-NULL, returns the next pointer after filter.
* If the returned pointer points to NULL, the last registered filter
* was already reached.
*/
AVFilter
**
av_filter_next
(
AVFilter
**
filter
);
/**
* Creates a filter instance.
* @param filter the filter to create an instance of
...
...
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