mpegaudiodecheader.c File Reference
#include "libavutil/macros.h"
#include "mpegaudio.h"
#include "mpegaudiodata.h"
#include "mpegaudiodecheader.h"

Go to the source code of this file.


int avpriv_mpegaudio_decode_header (MPADecodeHeader *s, uint32_t header)
int ff_mpa_decode_header (uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bit_rate, enum AVCodecID *codec_id)

Detailed Description

MPEG Audio header decoder.

Definition in file mpegaudiodecheader.c.

Function Documentation

◆ avpriv_mpegaudio_decode_header()

int avpriv_mpegaudio_decode_header ( MPADecodeHeader s,
uint32_t  header 

◆ ff_mpa_decode_header()

int ff_mpa_decode_header ( uint32_t  head,
int sample_rate,
int channels,
int frame_size,
int bit_rate,
enum AVCodecID codec_id 

Definition at line 120 of file mpegaudiodecheader.c.

Referenced by ffat_create_decoder(), and mpegaudio_parse().