00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "libavutil/internal.h"
00022 #include "avfilter.h"
00023 #include "internal.h"
00024
00025 static int null_filter_frame(AVFilterLink *link, AVFilterBufferRef *samplesref)
00026 {
00027 avfilter_unref_bufferp(&samplesref);
00028 return 0;
00029 }
00030
00031 static const AVFilterPad avfilter_asink_anullsink_inputs[] = {
00032 {
00033 .name = "default",
00034 .type = AVMEDIA_TYPE_AUDIO,
00035 .filter_frame = null_filter_frame,
00036 },
00037 { NULL },
00038 };
00039
00040 AVFilter avfilter_asink_anullsink = {
00041 .name = "anullsink",
00042 .description = NULL_IF_CONFIG_SMALL("Do absolutely nothing with the input audio."),
00043
00044 .priv_size = 0,
00045
00046 .inputs = avfilter_asink_anullsink_inputs,
00047 .outputs = NULL,
00048 };