78 uint16_t coded_file_size;
87 "Output file is too big (%"PRId64
" bytes >= 64kB)\n", file_size);
88 coded_file_size = 0xffff;
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AV_LOG_WARNING
Something somehow does not look correct.
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
AVStream ** streams
A list of all streams in the file.
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
#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. ...
AVCodecContext * codec
Codec context associated with this stream.
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
int void avio_flush(AVIOContext *s)
Force flushing of buffered data.
static int rso_write_header(AVFormatContext *s)
internal header for RIFF based (de)muxers do NOT include this in end user applications ...
AVOutputFormat ff_rso_muxer
static int rso_write_packet(AVFormatContext *s, AVPacket *pkt)
const AVCodecTag ff_codec_rso_tags[]
#define AVERROR_PATCHWELCOME
Not yet implemented in FFmpeg, patches welcome.
int sample_rate
samples per second
AVIOContext * pb
I/O context.
main external API structure.
unsigned int codec_tag
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A').
void avio_wb16(AVIOContext *s, unsigned int val)
int channels
number of audio channels
This structure stores compressed data.
static int rso_write_trailer(AVFormatContext *s)