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
4e48aa86
Commit
4e48aa86
authored
Aug 18, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()
parent
1fce361d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
buffersrc.c
libavfilter/buffersrc.c
+1
-1
buffersrc.h
libavfilter/buffersrc.h
+1
-1
No files found.
libavfilter/buffersrc.c
View file @
4e48aa86
...
...
@@ -70,7 +70,7 @@ typedef struct {
return AVERROR(EINVAL);\
}
int
av_buffersrc_write_frame
(
AVFilterContext
*
buffer_filter
,
AVFrame
*
frame
)
int
av_buffersrc_write_frame
(
AVFilterContext
*
buffer_filter
,
const
AVFrame
*
frame
)
{
BufferSourceContext
*
c
=
buffer_filter
->
priv
;
AVFilterBufferRef
*
buf
;
...
...
libavfilter/buffersrc.h
View file @
4e48aa86
...
...
@@ -45,6 +45,6 @@ int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
* @warning frame data will be memcpy()ed, which may be a big performance
* hit. Use av_buffersrc_buffer() to avoid copying the data.
*/
int
av_buffersrc_write_frame
(
AVFilterContext
*
s
,
AVFrame
*
frame
);
int
av_buffersrc_write_frame
(
AVFilterContext
*
s
,
const
AVFrame
*
frame
);
#endif
/* AVFILTER_BUFFERSRC_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