diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-28 13:53:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-28 16:43:34 +0100 |
commit | cd7febd33f20b42aac14cf9cb87efdf619b39b0a (patch) | |
tree | 6826129a1f327836e1c980449b2fa7308307b615 /libavfilter/asink_anullsink.c | |
parent | 16af29a7a6deff3f6081fca1e36ad96cf8fec77d (diff) |
lavfi: replace filter_samples by filter_frame
Based on patch by Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/asink_anullsink.c')
-rw-r--r-- | libavfilter/asink_anullsink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/asink_anullsink.c b/libavfilter/asink_anullsink.c index 9773785d75..5a324fccf0 100644 --- a/libavfilter/asink_anullsink.c +++ b/libavfilter/asink_anullsink.c @@ -22,7 +22,7 @@ #include "avfilter.h" #include "internal.h" -static int null_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref) +static int null_filter_frame(AVFilterLink *link, AVFilterBufferRef *samplesref) { avfilter_unref_bufferp(&samplesref); return 0; @@ -32,7 +32,7 @@ static const AVFilterPad avfilter_asink_anullsink_inputs[] = { { .name = "default", .type = AVMEDIA_TYPE_AUDIO, - .filter_samples = null_filter_samples, + .filter_frame = null_filter_frame, }, { NULL }, }; |