FFmpeg
Functions | Variables
aeaenc.c File Reference
#include "avformat.h"
#include "avio_internal.h"
#include "rawenc.h"
#include "mux.h"

Go to the source code of this file.

Functions

static int aea_write_header (AVFormatContext *s)
 
static int aea_write_trailer (struct AVFormatContext *s)
 

Variables

const FFOutputFormat ff_aea_muxer
 

Function Documentation

◆ aea_write_header()

static int aea_write_header ( AVFormatContext s)
static

Definition at line 28 of file aeaenc.c.

◆ aea_write_trailer()

static int aea_write_trailer ( struct AVFormatContext s)
static

Definition at line 73 of file aeaenc.c.

Variable Documentation

◆ ff_aea_muxer

const FFOutputFormat ff_aea_muxer
Initial value:
= {
.p.name = "aea",
.p.long_name = NULL_IF_CONFIG_SMALL("MD STUDIO audio"),
.p.extensions = "aea",
.p.audio_codec = AV_CODEC_ID_ATRAC1,
.p.video_codec = AV_CODEC_ID_NONE,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH |
.write_header = aea_write_header,
.write_packet = ff_raw_write_packet,
.write_trailer = aea_write_trailer,
}

Definition at line 95 of file aeaenc.c.

aea_write_trailer
static int aea_write_trailer(struct AVFormatContext *s)
Definition: aeaenc.c:73
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
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:31
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
aea_write_header
static int aea_write_header(AVFormatContext *s)
Definition: aeaenc.c:28
AV_CODEC_ID_ATRAC1
@ AV_CODEC_ID_ATRAC1
Definition: codec_id.h:487
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