FFmpeg
Macros | Functions | Variables
loasdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/internal.h"
#include "avformat.h"
#include "internal.h"
#include "rawdec.h"

Go to the source code of this file.

Macros

#define LOAS_SYNC_WORD   0x2b7
 

Functions

static int loas_probe (const AVProbeData *p)
 
static int loas_read_header (AVFormatContext *s)
 

Variables

AVInputFormat ff_loas_demuxer
 

Macro Definition Documentation

◆ LOAS_SYNC_WORD

#define LOAS_SYNC_WORD   0x2b7

Definition at line 28 of file loasdec.c.

Function Documentation

◆ loas_probe()

static int loas_probe ( const AVProbeData p)
static

Definition at line 30 of file loasdec.c.

◆ loas_read_header()

static int loas_read_header ( AVFormatContext s)
static

Definition at line 68 of file loasdec.c.

Variable Documentation

◆ ff_loas_demuxer

AVInputFormat ff_loas_demuxer
Initial value:
= {
.name = "loas",
.long_name = NULL_IF_CONFIG_SMALL("LOAS AudioSyncStream"),
.read_probe = loas_probe,
.read_header = loas_read_header,
.raw_codec_id = AV_CODEC_ID_AAC_LATM,
.priv_data_size = sizeof(FFRawDemuxerContext),
.priv_class = &loas_demuxer_class,
}

Definition at line 87 of file loasdec.c.

loas_probe
static int loas_probe(const AVProbeData *p)
Definition: loasdec.c:30
FFRawDemuxerContext
Definition: rawdec.h:37
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:463
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:35
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
loas_read_header
static int loas_read_header(AVFormatContext *s)
Definition: loasdec.c:68
AV_CODEC_ID_AAC_LATM
@ AV_CODEC_ID_AAC_LATM
Definition: codec_id.h:473