libavcodec/aac_parser.h File Reference

#include <stdint.h>
#include "aac_ac3_parser.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  AACADTSHeaderInfo




int ff_aac_parse_header (GetBitContext *gbc, AACADTSHeaderInfo *hdr)
 Parses AAC frame header.

Define Documentation


Function Documentation

int ff_aac_parse_header ( GetBitContext gbc,
AACADTSHeaderInfo hdr 

Parses AAC frame header.

Parses the ADTS frame header to the end of the variable header, which is the first 54 bits.

gbc[in] BitContext containing the first 54 bits of the frame.
hdr[out] Pointer to struct where header info is written.
Returns 0 on success, -1 if there is a sync word mismatch, -2 if the version element is invalid, -3 if the sample rate element is invalid, or -4 if the bit rate element is invalid.

Definition at line 29 of file aac_parser.c.

Referenced by aac_adtstoasc_filter(), aac_sync(), parse_adts_frame_header(), and spdif_header_aac().

Generated on Fri Oct 26 02:36:50 2012 for FFmpeg by  doxygen 1.5.8