sink_buffer: fix #ifs for FF-sinks
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Sep 2012 16:49:05 +0000 (18:49 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Sep 2012 16:51:59 +0000 (18:51 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/sink_buffer.c

index 0b685e3..040fbaf 100644 (file)
@@ -188,7 +188,7 @@ int av_buffersink_poll_frame(AVFilterContext *ctx)
     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)
 {
@@ -261,7 +261,7 @@ AVFilter avfilter_vsink_buffersink = {
 
 #endif /* CONFIG_BUFFERSINK_FILTER */
 
-#if CONFIG_ABUFFERSINK_FILTER
+#if CONFIG_ABUFFERSINK_FILTER || CONFIG_FFABUFFERSINK_FILTER
 
 static int filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref)
 {