23 #include "libavutil/channel_layout.h"
24 #include "libavutil/intreadwrite.h"
74 #define BLOCK_SIZE 1024
static int rso_read_packet(AVFormatContext *s, AVPacket *pkt)
AVCodecContext * codec
Codec context associated with this stream.
AVInputFormat ff_rso_demuxer
void void avpriv_request_sample(void *avc, const char *msg,...) av_printf_format(2
Log a generic warning message about a missing feature.
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file.
static int rso_read_header(AVFormatContext *s)
AVCodecID
Identify the syntax and semantics of the bitstream.
int av_get_bits_per_sample(enum AVCodecID codec_id)
Return codec bits per sample.
#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.
AVStream ** streams
A list of all streams in the file.
const AVCodecTag ff_codec_rso_tags[]
#define AVERROR_PATCHWELCOME
Not yet implemented in Libav, patches welcome.
enum AVMediaType codec_type
int sample_rate
samples per second
unsigned int codec_tag
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A').
AVIOContext * pb
I/O context.
void avpriv_report_missing_feature(void *avc, const char *msg,...) av_printf_format(2
Log a generic warning message about a missing feature.
int64_t duration
Decoding: duration of the stream, in stream time base.
int channels
number of audio channels
#define AV_CH_LAYOUT_MONO
This structure stores compressed data.