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 46 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.flags = AVFMT_NOTIMESTAMPS,
.init = daud_init,
.write_packet = daud_write_packet,
}

Definition at line 60 of file daudenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:480
daud_init
static int daud_init(struct AVFormatContext *s)
Definition: daudenc.c:25
daud_write_packet
static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: daudenc.c:46
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
AV_CODEC_ID_PCM_S24DAUD
@ AV_CODEC_ID_PCM_S24DAUD
Definition: codec_id.h:347