FFmpeg  4.0
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},
}
static av_cold int oma_write_header(AVFormatContext *s)
Definition: omaenc.c:30
const AVCodecTag ff_oma_codec_tags[]
Definition: oma.c:28
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:29
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:469

Definition at line 97 of file omaenc.c.