27 #ifndef AVCODEC_MPEGAUDIODECHEADER_H
28 #define AVCODEC_MPEGAUDIODECHEADER_H
32 #define MP3_MASK 0xFFFE0CCF
34 #define MPA_DECODE_HEADER \
36 int error_protection; \
39 int sample_rate_index; \
63 if ((header & 0xffe00000) != 0xffe00000)
66 if ((header & (3<<19)) == 1<<19)
69 if ((header & (3<<17)) == 0)
72 if ((header & (0
xf<<12)) == 0
xf<<12)
75 if ((header & (3<<10)) == 3<<10)
static const uint8_t header[24]
AVCodecID
Identify the syntax and semantics of the bitstream.
Libavcodec external API header.
#define xf(width, name, var, range_min, range_max, subs,...)