FFmpeg
Functions | Variables
omaenc.c File Reference
#include "avformat.h"
#include "avio_internal.h"
#include "id3v2.h"
#include "internal.h"
#include "oma.h"
#include "rawenc.h"

Go to the source code of this file.

Functions

static av_cold int oma_write_header (AVFormatContext *s)
 

Variables

AVOutputFormat ff_oma_muxer
 

Function Documentation

◆ oma_write_header()

static av_cold int oma_write_header ( AVFormatContext s)
static

Definition at line 30 of file omaenc.c.

Variable Documentation

◆ ff_oma_muxer

AVOutputFormat ff_oma_muxer
Initial value:
= {
.name = "oma",
.long_name = NULL_IF_CONFIG_SMALL("Sony OpenMG audio"),
.mime_type = "audio/x-oma",
.extensions = "oma",
.audio_codec = AV_CODEC_ID_ATRAC3,
.write_header = oma_write_header,
.write_packet = ff_raw_write_packet,
.codec_tag = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
}

Definition at line 97 of file omaenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:467
AV_CODEC_ID_ATRAC3
@ AV_CODEC_ID_ATRAC3
Definition: avcodec.h:595
AVCodecTag
Definition: internal.h:44
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:29
ff_oma_codec_tags
const AVCodecTag ff_oma_codec_tags[]
Definition: oma.c:28
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
oma_write_header
static av_cold int oma_write_header(AVFormatContext *s)
Definition: omaenc.c:30