FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
aacdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "id3v1.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 adts_aac_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_aac_demuxer
 

Macro Definition Documentation

#define ADTS_HEADER_SIZE   7

Definition at line 29 of file aacdec.c.

Referenced by adts_aac_read_packet().

Function Documentation

static int adts_aac_probe ( AVProbeData p)
static

Definition at line 31 of file aacdec.c.

static int adts_aac_read_header ( AVFormatContext s)
static

Definition at line 80 of file aacdec.c.

static int adts_aac_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 119 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:119
static int adts_aac_read_header(AVFormatContext *s)
Definition: aacdec.c:80
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:487
static int adts_aac_probe(AVProbeData *p)
Definition: aacdec.c:31

Definition at line 149 of file aacdec.c.