diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-04 18:49:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-04 18:51:59 +0200 |
commit | 172161c8dbae01e33950dec9d87d1cfb248ec71f (patch) | |
tree | 93b202e6d3ae945f0db937a659159b46b49d0596 /libavfilter/sink_buffer.c | |
parent | 9dcc4c30f9d8ef70d3c07b4a77fdc507e8766107 (diff) | |
download | ffmpeg-streaming-172161c8dbae01e33950dec9d87d1cfb248ec71f.zip ffmpeg-streaming-172161c8dbae01e33950dec9d87d1cfb248ec71f.tar.gz |
sink_buffer: fix #ifs for FF-sinks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/sink_buffer.c')
-rw-r--r-- | libavfilter/sink_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c index 0b685e3..040fbaf 100644 --- a/libavfilter/sink_buffer.c +++ b/libavfilter/sink_buffer.c @@ -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) { |