#include "ac3.h"
#include "get_bits.h"
Go to the source code of this file.
Functions | |
int | avpriv_ac3_parse_header (GetBitContext *gbc, AC3HeaderInfo *hdr) |
Parse AC-3 frame header. |
int avpriv_ac3_parse_header | ( | GetBitContext * | gbc, | |
AC3HeaderInfo * | hdr | |||
) |
Parse AC-3 frame header.
Parse the header up to the lfeon element, which is the first 52 or 54 bits depending on the audio coding mode.
[in] | gbc | BitContext containing the first 54 bits of the frame. |
[out] | hdr | Pointer to struct where header info is written. |
Definition at line 50 of file ac3_parser.c.
Referenced by ac3_eac3_probe(), ac3_sync(), and parse_frame_header().