int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
void avio_wl32(AVIOContext *s, unsigned int val)
AVOutputFormat ff_vc1t_muxer
uint8_t * extradata
some codecs need / can use extradata like Huffman tables.
AVStream ** streams
A list of all streams in the file.
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
#define AV_PKT_FLAG_KEY
The packet contains a keyframe.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static int vc1test_write_packet(AVFormatContext *s, AVPacket *pkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int vc1test_write_header(AVFormatContext *s)
AVRational avg_frame_rate
Average framerate.
int flags
A combination of AV_PKT_FLAG values.
static int vc1test_write_trailer(AVFormatContext *s)
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.
int width
picture width / height.
static int write_trailer(AVFormatContext *s1)
AVIOContext * pb
I/O context.
void avio_w8(AVIOContext *s, int b)
main external API structure.
void avio_wl24(AVIOContext *s, unsigned int val)
void * priv_data
Format private data.
static void write_header(FFV1Context *f)
This structure stores compressed data.
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...