FFmpeg
Functions | Variables
asink_anullsink.c File Reference
#include "libavutil/internal.h"
#include "avfilter.h"
#include "filters.h"

Go to the source code of this file.

Functions

static int null_filter_frame (AVFilterLink *link, AVFrame *frame)
 

Variables

static const AVFilterPad avfilter_asink_anullsink_inputs []
 
const AVFilter ff_asink_anullsink
 

Function Documentation

◆ null_filter_frame()

static int null_filter_frame ( AVFilterLink link,
AVFrame frame 
)
static

Definition at line 25 of file asink_anullsink.c.

Variable Documentation

◆ avfilter_asink_anullsink_inputs

const AVFilterPad avfilter_asink_anullsink_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = null_filter_frame,
},
}

Definition at line 31 of file asink_anullsink.c.

◆ ff_asink_anullsink

const AVFilter ff_asink_anullsink
Initial value:
= {
.name = "anullsink",
.description = NULL_IF_CONFIG_SMALL("Do absolutely nothing with the input audio."),
.priv_size = 0,
.outputs = NULL,
}

Definition at line 39 of file asink_anullsink.c.

avfilter_asink_anullsink_inputs
static const AVFilterPad avfilter_asink_anullsink_inputs[]
Definition: asink_anullsink.c:31
FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: filters.h:262
AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
NULL
#define NULL
Definition: coverity.c:32
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
null_filter_frame
static int null_filter_frame(AVFilterLink *link, AVFrame *frame)
Definition: asink_anullsink.c:25