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
45dd1ae1
Commit
45dd1ae1
authored
Jul 29, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs
parent
c2e936de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
buffer.c
libavfilter/buffer.c
+3
-0
internal.h
libavfilter/internal.h
+3
-0
No files found.
libavfilter/buffer.c
View file @
45dd1ae1
...
...
@@ -22,7 +22,9 @@
#include "avfilter.h"
#include "internal.h"
#include "version.h"
#if FF_API_AVFILTERBUFFER
/* TODO: buffer pool. see comment for avfilter_default_get_video_buffer() */
void
ff_avfilter_default_free_buffer
(
AVFilterBuffer
*
ptr
)
{
...
...
@@ -173,3 +175,4 @@ void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilterBufferRef *s
default:
break
;
}
}
#endif
/* FF_API_AVFILTERBUFFER */
libavfilter/internal.h
View file @
45dd1ae1
...
...
@@ -26,6 +26,7 @@
#include "avfilter.h"
#include "thread.h"
#include "version.h"
#if !FF_API_AVFILTERPAD_PUBLIC
/**
...
...
@@ -129,8 +130,10 @@ struct AVFilterInternal {
int
*
ret
,
int
nb_jobs
);
};
#if FF_API_AVFILTERBUFFER
/** default handler for freeing audio/video buffer when there are no references left */
void
ff_avfilter_default_free_buffer
(
AVFilterBuffer
*
buf
);
#endif
/** Tell is a format is contained in the provided list terminated by -1. */
int
ff_fmt_is_in
(
int
fmt
,
const
int
*
fmts
);
...
...
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