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

const 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

const 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 = ff_oma_codec_tags_list,
}

Definition at line 94 of file omaenc.c.

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