[FFmpeg-devel] [PATCH 3/4] lavfi/buffersink: schedule removing the "ff" variants.
Nicolas George
nicolas.george at normalesup.org
Mon Mar 11 22:00:41 CET 2013
They are no longer needed since there is no incompatible
ABI version.
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
libavfilter/allfilters.c | 2 ++
libavfilter/buffersink.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
index f83cdc4..51d7996 100644
--- a/libavfilter/allfilters.c
+++ b/libavfilter/allfilters.c
@@ -183,8 +183,10 @@ void avfilter_register_all(void)
REGISTER_FILTER(AMOVIE, amovie, avsrc);
REGISTER_FILTER(MOVIE, movie, avsrc);
+#if FF_API_AVFILTERBUFFER
REGISTER_FILTER_UNCONDITIONAL(vsink_ffbuffersink);
REGISTER_FILTER_UNCONDITIONAL(asink_ffabuffersink);
+#endif
/* those filters are part of public or internal API => registered
* unconditionally */
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c
index 4b9918e..8236f22 100644
--- a/libavfilter/buffersink.c
+++ b/libavfilter/buffersink.c
@@ -471,6 +471,7 @@ static int asink_query_formats(AVFilterContext *ctx)
return 0;
}
+#if FF_API_AVFILTERBUFFER
static const AVFilterPad ffbuffersink_inputs[] = {
{
.name = "default",
@@ -511,6 +512,7 @@ AVFilter avfilter_asink_ffabuffersink = {
.inputs = ffabuffersink_inputs,
.outputs = NULL,
};
+#endif /* FF_API_AVFILTERBUFFER */
static const AVFilterPad avfilter_vsink_buffer_inputs[] = {
{
--
1.7.10.4
More information about the ffmpeg-devel
mailing list