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
172161c8
Commit
172161c8
authored
Sep 04, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sink_buffer: fix #ifs for FF-sinks
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9dcc4c30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sink_buffer.c
libavfilter/sink_buffer.c
+2
-2
No files found.
libavfilter/sink_buffer.c
View file @
172161c8
...
@@ -188,7 +188,7 @@ int av_buffersink_poll_frame(AVFilterContext *ctx)
...
@@ -188,7 +188,7 @@ int av_buffersink_poll_frame(AVFilterContext *ctx)
return
av_fifo_size
(
buf
->
fifo
)
/
sizeof
(
AVFilterBufferRef
*
)
+
ff_poll_frame
(
inlink
);
return
av_fifo_size
(
buf
->
fifo
)
/
sizeof
(
AVFilterBufferRef
*
)
+
ff_poll_frame
(
inlink
);
}
}
#if CONFIG_BUFFERSINK_FILTER
#if CONFIG_BUFFERSINK_FILTER
|| CONFIG_FFBUFFERSINK_FILTER
static
av_cold
int
vsink_init
(
AVFilterContext
*
ctx
,
const
char
*
args
,
void
*
opaque
)
static
av_cold
int
vsink_init
(
AVFilterContext
*
ctx
,
const
char
*
args
,
void
*
opaque
)
{
{
...
@@ -261,7 +261,7 @@ AVFilter avfilter_vsink_buffersink = {
...
@@ -261,7 +261,7 @@ AVFilter avfilter_vsink_buffersink = {
#endif
/* CONFIG_BUFFERSINK_FILTER */
#endif
/* CONFIG_BUFFERSINK_FILTER */
#if CONFIG_ABUFFERSINK_FILTER
#if CONFIG_ABUFFERSINK_FILTER
|| CONFIG_FFABUFFERSINK_FILTER
static
int
filter_samples
(
AVFilterLink
*
link
,
AVFilterBufferRef
*
samplesref
)
static
int
filter_samples
(
AVFilterLink
*
link
,
AVFilterBufferRef
*
samplesref
)
{
{
...
...
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