FFmpeg
Functions | Variables
daudenc.c File Reference
#include "avformat.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 AVOutputFormat ff_daud_muxer
 

Function Documentation

◆ daud_init()

static int daud_init ( struct AVFormatContext s)
static

Definition at line 24 of file daudenc.c.

◆ daud_write_packet()

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

Definition at line 32 of file daudenc.c.

Variable Documentation

◆ ff_daud_muxer

const AVOutputFormat ff_daud_muxer
Initial value:
= {
.name = "daud",
.long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"),
.extensions = "302",
.audio_codec = AV_CODEC_ID_PCM_S24DAUD,
.video_codec = AV_CODEC_ID_NONE,
.init = daud_init,
.write_packet = daud_write_packet,
}

Definition at line 45 of file daudenc.c.

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