Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-09-26 13:59:56 +0400
committerNicolas George <nicolas.george@normalesup.org>2012-09-27 17:57:30 +0400
commit8e1f063efcde8173e006705c307c8ebc1ab15637 (patch)
tree4d493ba98bad74379f8370565bc035028d73b860 /libavfilter/sink_buffer.c
parente760424ddd202e01119592044394d505810ae00a (diff)
lavfi: enable buffersinks unconditionally.
They are part of the public API. Their libav compatibility counterpart are already enabled unconditionally.
Diffstat (limited to 'libavfilter/sink_buffer.c')
-rw-r--r--libavfilter/sink_buffer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c
index e34e8e204b..8c52c5c93b 100644
--- a/libavfilter/sink_buffer.c
+++ b/libavfilter/sink_buffer.c
@@ -188,8 +188,6 @@ int av_buffersink_poll_frame(AVFilterContext *ctx)
return av_fifo_size(buf->fifo)/sizeof(AVFilterBufferRef *) + ff_poll_frame(inlink);
}
-#if CONFIG_BUFFERSINK_FILTER || CONFIG_FFBUFFERSINK_FILTER
-
static av_cold int vsink_init(AVFilterContext *ctx, const char *args, void *opaque)
{
BufferSinkContext *buf = ctx->priv;
@@ -259,10 +257,6 @@ AVFilter avfilter_vsink_buffersink = {
.outputs = (const AVFilterPad[]) {{ .name = NULL }},
};
-#endif /* CONFIG_BUFFERSINK_FILTER */
-
-#if CONFIG_ABUFFERSINK_FILTER || CONFIG_FFABUFFERSINK_FILTER
-
static int filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref)
{
end_frame(link);
@@ -354,5 +348,3 @@ AVFilter avfilter_asink_abuffersink = {
{ .name = NULL }},
.outputs = (const AVFilterPad[]) {{ .name = NULL }},
};
-
-#endif /* CONFIG_ABUFFERSINK_FILTER */