Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
5c439b41
Commit
5c439b41
authored
Oct 28, 2013
by
Vittorio Giovara
Committed by
Anton Khirnov
Oct 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: have avfilter_get_by_name return const for next bump
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
97de206b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
avfilter.c
libavfilter/avfilter.c
+3
-0
avfilter.h
libavfilter/avfilter.h
+3
-0
version.h
libavfilter/version.h
+3
-0
No files found.
libavfilter/avfilter.c
View file @
5c439b41
...
...
@@ -272,6 +272,9 @@ int ff_poll_frame(AVFilterLink *link)
static
AVFilter
*
first_filter
;
#if !FF_API_NOCONST_GET_NAME
const
#endif
AVFilter
*
avfilter_get_by_name
(
const
char
*
name
)
{
AVFilter
*
f
=
NULL
;
...
...
libavfilter/avfilter.h
View file @
5c439b41
...
...
@@ -764,6 +764,9 @@ int avfilter_register(AVFilter *filter);
* @return the filter definition, if any matching one is registered.
* NULL if none found.
*/
#if !FF_API_NOCONST_GET_NAME
const
#endif
AVFilter
*
avfilter_get_by_name
(
const
char
*
name
);
/**
...
...
libavfilter/version.h
View file @
5c439b41
...
...
@@ -68,5 +68,8 @@
#ifndef FF_API_OLD_FILTER_REGISTER
#define FF_API_OLD_FILTER_REGISTER (LIBAVFILTER_VERSION_MAJOR < 4)
#endif
#ifndef FF_API_NOCONST_GET_NAME
#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 4)
#endif
#endif
/* AVFILTER_VERSION_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