FFmpeg
Functions | Variables
daudenc.c File Reference
#include "avformat.h"
#include "mux.h"

Go to the source code of this file.

Functions

static int daud_init (struct AVFormatContext *s)
 
static int daud_write_packet (struct AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFOutputFormat ff_daud_muxer
 

Function Documentation

◆ daud_init()

static int daud_init ( struct AVFormatContext s)
static

Definition at line 25 of file daudenc.c.

◆ daud_write_packet()

static int daud_write_packet ( struct AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 51 of file daudenc.c.

Variable Documentation

◆ ff_daud_muxer

const FFOutputFormat ff_daud_muxer
Initial value:
= {
.p.name = "daud",
.p.long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"),
.p.extensions = "302",
.p.audio_codec = AV_CODEC_ID_PCM_S24DAUD,
.p.video_codec = AV_CODEC_ID_NONE,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.p.flags = AVFMT_NOTIMESTAMPS,
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH |
.init = daud_init,
.write_packet = daud_write_packet,
}

Definition at line 59 of file daudenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
daud_init
static int daud_init(struct AVFormatContext *s)
Definition: daudenc.c:25
FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
Definition: mux.h:59
daud_write_packet
static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: daudenc.c:51
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:106
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
FF_OFMT_FLAG_MAX_ONE_OF_EACH
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
Definition: mux.h:50
AV_CODEC_ID_PCM_S24DAUD
@ AV_CODEC_ID_PCM_S24DAUD
Definition: codec_id.h:344