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
77cc958f
Commit
77cc958f
authored
Jun 14, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()
This function should never modify the filter.
parent
6da5b57d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
avfilter.h
libavfilter/avfilter.h
+1
-1
avfiltergraph.c
libavfilter/avfiltergraph.c
+1
-1
No files found.
libavfilter/avfilter.h
View file @
77cc958f
...
...
@@ -1001,7 +1001,7 @@ int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
* @return a negative AVERROR error code in case of failure, a non
* negative value otherwise
*/
int
avfilter_graph_create_filter
(
AVFilterContext
**
filt_ctx
,
AVFilter
*
filt
,
int
avfilter_graph_create_filter
(
AVFilterContext
**
filt_ctx
,
const
AVFilter
*
filt
,
const
char
*
name
,
const
char
*
args
,
void
*
opaque
,
AVFilterGraph
*
graph_ctx
);
...
...
libavfilter/avfiltergraph.c
View file @
77cc958f
...
...
@@ -139,7 +139,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
}
#endif
int
avfilter_graph_create_filter
(
AVFilterContext
**
filt_ctx
,
AVFilter
*
filt
,
int
avfilter_graph_create_filter
(
AVFilterContext
**
filt_ctx
,
const
AVFilter
*
filt
,
const
char
*
name
,
const
char
*
args
,
void
*
opaque
,
AVFilterGraph
*
graph_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