80 case MKTAG(
'P',
'S',
'3',
'_'):
85 if (coding ==
MKTAG(
'D',
'A',
'T',
'4') ||
86 coding ==
MKTAG(
'D',
'A',
'T',
'8')) {
97 case MKTAG(
'W',
'I',
'I',
'_'):
100 if (coding !=
MKTAG(
'D',
'A',
'T',
'4') &&
101 coding !=
MKTAG(
'D',
'A',
'T',
'8')) {
114 case MKTAG(
'X',
'E',
'_',
'_'):
120 case MKTAG(
'P',
'S',
'P',
'_'):
126 case MKTAG(
'P',
'S',
'2',
'_'):
142 case MKTAG(
'G',
'C',
'_',
'_'):
148 case MKTAG(
'P',
'S',
'2',
'_'):
154 case MKTAG(
'X',
'B',
'_',
'_'):
185 .p.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)
@ AV_CODEC_ID_ADPCM_IMA_DAT4
AVStream * avformat_new_stream(AVFormatContext *s, const struct 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.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define MKTAG(a, b, c, d)
#define MKBETAG(a, b, c, d)
static int musx_probe(const AVProbeData *p)
static int musx_read_header(AVFormatContext *s)
static int musx_read_packet(AVFormatContext *s, AVPacket *pkt)
int nb_channels
Number of channels in this layout.
This struct describes the properties of an encoded stream.
AVChannelLayout ch_layout
The channel layout and number of channels.
enum AVMediaType codec_type
General type of the encoded data.
int block_align
The number of bytes per coded audio frame, required by some formats.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
int sample_rate
The number of audio samples per second.
This structure stores compressed data.
This structure contains the data a format has to probe a file.
AVCodecParameters * codecpar
Codec parameters associated with this stream.
#define avpriv_request_sample(...)