22 #include "libavutil/channel_layout.h"
23 #include "libavutil/intreadwrite.h"
97 if (type ==
MKTAG(
'B',
'L',
'C',
'K')) {
static int ast_read_header(AVFormatContext *s)
int64_t pos
byte position in stream, -1 if unknown
static int ast_read_packet(AVFormatContext *s, AVPacket *pkt)
AVCodecContext * codec
Codec context associated with this stream.
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
#define AV_CH_LAYOUT_4POINT0
#define AV_CH_LAYOUT_STEREO
static int ast_probe(AVProbeData *p)
void void avpriv_request_sample(void *avc, const char *msg,...) av_printf_format(2
Log a generic warning message about a missing feature.
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
uint64_t channel_layout
Audio channel layout.
enum AVMediaType codec_type
int sample_rate
samples per second
AVIOContext * pb
I/O context.
#define MKTAG(a, b, c, d)
AVInputFormat ff_ast_demuxer
This structure contains the data a format has to probe a file.
int64_t duration
Decoding: duration of the stream, in stream time base.
int64_t start_time
Decoding: pts of the first frame of the stream in presentation order, in stream time base...
#define AVERROR_INVALIDDATA
const AVCodecTag ff_codec_ast_tags[]
int channels
number of audio channels
This structure stores compressed data.