Go to the documentation of this file.
47 if (
s->streams[0]->avg_frame_rate.den &&
s->streams[0]->avg_frame_rate.num == 1)
48 avio_wl32(pb,
s->streams[0]->avg_frame_rate.den);
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
This struct describes the properties of an encoded stream.
#define AV_PKT_FLAG_KEY
The packet contains a keyframe.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static int write_trailer(AVFormatContext *s1)
void avio_w8(AVIOContext *s, int b)
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.
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
void avio_wl32(AVIOContext *s, unsigned int val)
int flags
A combination of AV_PKT_FLAG values.
const AVOutputFormat ff_vc1t_muxer
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
#define AVIO_SEEKABLE_NORMAL
Seeking works like for a local file.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
This structure stores compressed data.
void avio_wl24(AVIOContext *s, unsigned int val)
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
static void write_header(FFV1Context *f)
static int vc1test_write_trailer(AVFormatContext *s)
static int vc1test_write_header(AVFormatContext *s)