FFmpeg  4.0
Functions
mpegaudiodecheader.c File Reference

MPEG Audio header decoder. More...

#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"
#include "mpegaudio.h"
#include "mpegaudiodata.h"
#include "mpegaudiodecheader.h"

Go to the source code of this file.

Functions

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 122 of file mpegaudiodecheader.c.

Referenced by ffat_create_decoder(), and mpegaudio_parse().