27#ifndef AVCODEC_MPEGAUDIODECHEADER_H
28#define AVCODEC_MPEGAUDIODECHEADER_H
33#define MP3_MASK 0xFFFE0CCF
35#define MPA_DECODE_HEADER \
37 int error_protection; \
40 int sample_rate_index; \
64 if ((
header & 0xffe00000) != 0xffe00000)
67 if ((
header & (3<<19)) == 1<<19)
70 if ((
header & (3<<17)) == 0)
73 if ((
header & (0xf<<12)) == 0xf<<12)
76 if ((
header & (3<<10)) == 3<<10)
static const uint8_t frame_size[4]
AVCodecID
Identify the syntax and semantics of the bitstream.
static const uint8_t header[24]