93             int audio_size = c->
packet[1] * 65 + 1;
 
   94             if (audio_size >= c->
size) {
 
#define AVERROR_INVALIDDATA
Invalid data found when processing input. 
 
static int bmv_read_close(AVFormatContext *s)
 
enum AVCodecID codec_id
Specific type of the encoded data (the codec used). 
 
static int bmv_read_header(AVFormatContext *s)
 
#define AV_CH_LAYOUT_STEREO
 
8 bits with AV_PIX_FMT_RGB32 palette 
 
int64_t duration
Duration of this packet in AVStream->time_base units, 0 if unknown. 
 
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file. 
 
#define AVERROR_EOF
End of file. 
 
static av_cold int read_close(AVFormatContext *ctx)
 
uint64_t channel_layout
Audio only. 
 
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf. 
 
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values. 
 
AVInputFormat ff_bmv_demuxer
 
#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. ...
 
enum AVMediaType codec_type
General type of the encoded data. 
 
int avio_r8(AVIOContext *s)
 
audio channel layout utility functions 
 
static int read_header(FFV1Context *f)
 
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
 
int av_reallocp(void *ptr, size_t size)
Allocate, reallocate, or free a block of memory through a pointer to a pointer. 
 
AVIOContext * pb
I/O context. 
 
int sample_rate
Audio only. 
 
int eof_reached
true if eof reached 
 
void * priv_data
Format private data. 
 
AVCodecParameters * codecpar
 
unsigned int avio_rl24(AVIOContext *s)
 
This structure stores compressed data. 
 
static int bmv_read_packet(AVFormatContext *s, AVPacket *pkt)
 
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...