79 case MKTAG(
'P',
'S',
'3',
'_'):
84 if (coding ==
MKTAG(
'D',
'A',
'T',
'4') ||
85 coding ==
MKTAG(
'D',
'A',
'T',
'8')) {
96 case MKTAG(
'W',
'I',
'I',
'_'):
99 if (coding !=
MKTAG(
'D',
'A',
'T',
'4') &&
100 coding !=
MKTAG(
'D',
'A',
'T',
'8')) {
113 case MKTAG(
'X',
'E',
'_',
'_'):
119 case MKTAG(
'P',
'S',
'P',
'_'):
125 case MKTAG(
'P',
'S',
'2',
'_'):
141 case MKTAG(
'G',
'C',
'_',
'_'):
147 case MKTAG(
'P',
'S',
'2',
'_'):
153 case MKTAG(
'X',
'B',
'_',
'_'):
187 .extensions =
"musx",
simple assert() macros that are a bit more flexible than ISO C assert().
#define av_assert0(cond)
assert() equivalent, that is always enabled.
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
unsigned int avio_rl32(AVIOContext *s)
unsigned int avio_rb32(AVIOContext *s)
#define MKTAG(a, b, c, d)
#define MKBETAG(a, b, c, d)
@ AV_CODEC_ID_ADPCM_IMA_DAT4
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file.
#define AVERROR_PATCHWELCOME
Not yet implemented in FFmpeg, patches welcome.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
common internal API header
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int musx_probe(const AVProbeData *p)
static int musx_read_header(AVFormatContext *s)
static int musx_read_packet(AVFormatContext *s, AVPacket *pkt)
AVInputFormat ff_musx_demuxer
This struct describes the properties of an encoded stream.
enum AVMediaType codec_type
General type of the encoded data.
int block_align
Audio only.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
int sample_rate
Audio only.
This structure stores compressed data.
This structure contains the data a format has to probe a file.
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
AVCodecParameters * codecpar
Codec parameters associated with this stream.
#define avpriv_request_sample(...)
static const uint8_t offset[127][2]