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
96a47364
Commit
96a47364
authored
Dec 05, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: Drop deprecated non-const filter retrieval
Deprecated in 10/2013.
parent
8e18328b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
15 deletions
+5
-15
avfilter.c
libavfilter/avfilter.c
+1
-4
avfilter.h
libavfilter/avfilter.h
+1
-4
avfiltergraph.c
libavfilter/avfiltergraph.c
+2
-2
graphparser.c
libavfilter/graphparser.c
+1
-1
version.h
libavfilter/version.h
+0
-4
No files found.
libavfilter/avfilter.c
View file @
96a47364
...
@@ -292,10 +292,7 @@ int ff_poll_frame(AVFilterLink *link)
...
@@ -292,10 +292,7 @@ int ff_poll_frame(AVFilterLink *link)
static
AVFilter
*
first_filter
;
static
AVFilter
*
first_filter
;
#if !FF_API_NOCONST_GET_NAME
const
AVFilter
*
avfilter_get_by_name
(
const
char
*
name
)
const
#endif
AVFilter
*
avfilter_get_by_name
(
const
char
*
name
)
{
{
const
AVFilter
*
f
=
NULL
;
const
AVFilter
*
f
=
NULL
;
...
...
libavfilter/avfilter.h
View file @
96a47364
...
@@ -449,10 +449,7 @@ int avfilter_register(AVFilter *filter);
...
@@ -449,10 +449,7 @@ int avfilter_register(AVFilter *filter);
* @return the filter definition, if any matching one is registered.
* @return the filter definition, if any matching one is registered.
* NULL if none found.
* NULL if none found.
*/
*/
#if !FF_API_NOCONST_GET_NAME
const
AVFilter
*
avfilter_get_by_name
(
const
char
*
name
);
const
#endif
AVFilter
*
avfilter_get_by_name
(
const
char
*
name
);
/**
/**
* Iterate over all registered filters.
* Iterate over all registered filters.
...
...
libavfilter/avfiltergraph.c
View file @
96a47364
...
@@ -293,7 +293,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
...
@@ -293,7 +293,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
if
(
convert_needed
)
{
if
(
convert_needed
)
{
AVFilterContext
*
convert
;
AVFilterContext
*
convert
;
AVFilter
*
filter
;
const
AVFilter
*
filter
;
AVFilterLink
*
inlink
,
*
outlink
;
AVFilterLink
*
inlink
,
*
outlink
;
char
scale_args
[
256
];
char
scale_args
[
256
];
char
inst_name
[
30
];
char
inst_name
[
30
];
...
@@ -759,7 +759,7 @@ static int graph_insert_fifos(AVFilterGraph *graph, AVClass *log_ctx)
...
@@ -759,7 +759,7 @@ static int graph_insert_fifos(AVFilterGraph *graph, AVClass *log_ctx)
for
(
j
=
0
;
j
<
f
->
nb_inputs
;
j
++
)
{
for
(
j
=
0
;
j
<
f
->
nb_inputs
;
j
++
)
{
AVFilterLink
*
link
=
f
->
inputs
[
j
];
AVFilterLink
*
link
=
f
->
inputs
[
j
];
AVFilterContext
*
fifo_ctx
;
AVFilterContext
*
fifo_ctx
;
AVFilter
*
fifo
;
const
AVFilter
*
fifo
;
char
name
[
32
];
char
name
[
32
];
if
(
!
link
->
dstpad
->
needs_fifo
)
if
(
!
link
->
dstpad
->
needs_fifo
)
...
...
libavfilter/graphparser.c
View file @
96a47364
...
@@ -131,7 +131,7 @@ static void append_sws_flags(const char **args, const char *sws_opts, char *tmp)
...
@@ -131,7 +131,7 @@ static void append_sws_flags(const char **args, const char *sws_opts, char *tmp)
static
int
create_filter
(
AVFilterContext
**
filt_ctx
,
AVFilterGraph
*
ctx
,
int
index
,
static
int
create_filter
(
AVFilterContext
**
filt_ctx
,
AVFilterGraph
*
ctx
,
int
index
,
const
char
*
filt_name
,
const
char
*
args
,
void
*
log_ctx
)
const
char
*
filt_name
,
const
char
*
args
,
void
*
log_ctx
)
{
{
AVFilter
*
filt
;
const
AVFilter
*
filt
;
char
inst_name
[
30
];
char
inst_name
[
30
];
char
tmp_args
[
TMP_ARGS_SIZE
];
char
tmp_args
[
TMP_ARGS_SIZE
];
int
ret
;
int
ret
;
...
...
libavfilter/version.h
View file @
96a47364
...
@@ -49,8 +49,4 @@
...
@@ -49,8 +49,4 @@
* the public API and may change, break or disappear at any time.
* the public API and may change, break or disappear at any time.
*/
*/
#ifndef FF_API_NOCONST_GET_NAME
#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7)
#endif
#endif
/* AVFILTER_VERSION_H */
#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