FFmpeg  4.0
Macros | Functions | Variables
aacdec.c File Reference
#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 (AVProbeData *p)
 
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

◆ ADTS_HEADER_SIZE

#define ADTS_HEADER_SIZE   7

Definition at line 31 of file aacdec.c.

Referenced by adts_aac_read_packet().

Function Documentation

◆ adts_aac_probe()

static int adts_aac_probe ( AVProbeData p)
static

Definition at line 33 of file aacdec.c.

◆ adts_aac_read_header()

static int adts_aac_read_header ( AVFormatContext s)
static

Definition at line 82 of file aacdec.c.

◆ handle_id3()

static int handle_id3 ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 121 of file aacdec.c.

Referenced by adts_aac_read_packet().

◆ adts_aac_read_packet()

static int adts_aac_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 153 of file aacdec.c.

Variable Documentation

◆ ff_aac_demuxer

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:153
static int adts_aac_read_header(AVFormatContext *s)
Definition: aacdec.c:82
#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
static int adts_aac_probe(AVProbeData *p)
Definition: aacdec.c:33

Definition at line 194 of file aacdec.c.