FFmpeg
Functions | Variables
af_acopy.c File Reference
#include "audio.h"
#include "avfilter.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 

Variables

static const AVFilterPad acopy_inputs []
 
static const AVFilterPad acopy_outputs []
 
AVFilter ff_af_acopy
 

Function Documentation

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 23 of file af_acopy.c.

Variable Documentation

◆ acopy_inputs

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

Definition at line 38 of file af_acopy.c.

◆ acopy_outputs

const AVFilterPad acopy_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}

Definition at line 47 of file af_acopy.c.

◆ ff_af_acopy

AVFilter ff_af_acopy
Initial value:
= {
.name = "acopy",
.description = NULL_IF_CONFIG_SMALL("Copy the input audio unchanged to the output."),
.inputs = acopy_inputs,
.outputs = acopy_outputs,
}

Definition at line 55 of file af_acopy.c.

AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
NULL
#define NULL
Definition: coverity.c:32
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: af_acopy.c:23
acopy_inputs
static const AVFilterPad acopy_inputs[]
Definition: af_acopy.c:38
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:188
acopy_outputs
static const AVFilterPad acopy_outputs[]
Definition: af_acopy.c:47