FFmpeg
Classes | Macros | Typedefs | Variables
omadec.c File Reference

This is a demuxer for Sony OpenMG Music files. More...

#include <inttypes.h>
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/des.h"
#include "libavutil/mathematics.h"
#include "oma.h"
#include "pcm.h"
#include "id3v2.h"

Classes

struct  OMAContext
 

Macros

#define OMA_RPROBE_M_VAL   48 + 1
 

Typedefs

typedef struct OMAContext OMAContext
 

Variables

AVInputFormat ff_oma_demuxer
 

Detailed Description

This is a demuxer for Sony OpenMG Music files.

Known file extensions: ".oma", "aa3" The format of such files consists of three parts:

Supported decoders: ATRAC3, ATRAC3+, MP3, LPCM

Variable Documentation

§ ff_oma_demuxer

AVInputFormat ff_oma_demuxer
Initial value:
= {
.name = "oma",
.long_name = NULL_IF_CONFIG_SMALL("Sony OpenMG audio"),
.priv_data_size = sizeof(OMAContext),
.read_probe = oma_read_probe,
.read_header = oma_read_header,
.read_packet = oma_read_packet,
.read_seek = oma_read_seek,
.read_close = oma_read_close,
.extensions = "oma,omg,aa3",
.codec_tag = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
}
Definition: omadec.c:62
Definition: internal.h:44
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470