73 #define BLOCK_SIZE 1024
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
static int rso_read_packet(AVFormatContext *s, AVPacket *pkt)
unsigned int avio_rb16(AVIOContext *s)
AVInputFormat ff_rso_demuxer
int av_get_bits_per_sample(enum CodecID codec_id)
Return codec bits per sample.
enum CodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
void av_log(void *avcl, int level, const char *fmt,...)
AVStream * avformat_new_stream(AVFormatContext *s, AVCodec *c)
Add a new stream to a media file.
static int rso_read_header(AVFormatContext *s, AVFormatParameters *ap)
AVCodecContext * codec
codec context
internal header for RIFF based (de)muxers do NOT include this in end user applications ...
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
void av_log_ask_for_sample(void *avc, const char *msg,...) av_printf_format(2
Log a generic warning message asking for a sample.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
unsigned int codec_tag
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A').
int64_t duration
Decoding: duration of the stream, in stream time base.
CodecID
Identify the syntax and semantics of the bitstream.
int channels
number of audio channels