FFmpeg
Macros | Functions | Variables
aacdec.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "id3v1.h"
#include "id3v2.h"
#include "apetag.h"

Go to the source code of this file.

Macros

#define ADTS_HEADER_SIZE   7
 

Functions

static int adts_aac_probe (const AVProbeData *p)
 
static int adts_aac_resync (AVFormatContext *s)
 
static int adts_aac_read_header (AVFormatContext *s)
 
static int handle_id3 (AVFormatContext *s, AVPacket *pkt)
 
static int adts_aac_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_aac_demuxer
 

Macro Definition Documentation

#define ADTS_HEADER_SIZE   7

Definition at line 32 of file aacdec.c.

Referenced by adts_aac_read_packet().

Function Documentation

static int adts_aac_probe ( const AVProbeData p)
static

Definition at line 34 of file aacdec.c.

static int adts_aac_resync ( AVFormatContext s)
static

Definition at line 83 of file aacdec.c.

Referenced by adts_aac_read_header(), and adts_aac_read_packet().

static int adts_aac_read_header ( AVFormatContext s)
static

Definition at line 104 of file aacdec.c.

static int handle_id3 ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 135 of file aacdec.c.

Referenced by adts_aac_read_packet().

static int adts_aac_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 167 of file aacdec.c.

Variable Documentation

AVInputFormat ff_aac_demuxer
Initial value:
= {
.name = "aac",
.long_name = NULL_IF_CONFIG_SMALL("raw ADTS AAC (Advanced Audio Coding)"),
.read_probe = adts_aac_probe,
.read_header = adts_aac_read_header,
.read_packet = adts_aac_read_packet,
.extensions = "aac",
.mime_type = "audio/aac,audio/aacp,audio/x-aac",
.raw_codec_id = AV_CODEC_ID_AAC,
}
static int adts_aac_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: aacdec.c:167
static int adts_aac_read_header(AVFormatContext *s)
Definition: aacdec.c:104
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int adts_aac_probe(const AVProbeData *p)
Definition: aacdec.c:34
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468

Definition at line 215 of file aacdec.c.