52#define RCWT_CLUSTER_MAX_BLOCKS 65535
53#define RCWT_BLOCK_SIZE 3
131 cc_valid = (
pkt->data[
i] & 0x04) >> 2;
132 cc_type =
pkt->data[
i] & 0x03;
134 if (!(cc_valid || cc_type == 3)) {
void avio_wl64(AVIOContext *s, uint64_t val)
void avio_wl16(AVIOContext *s, unsigned int val)
void avio_w8(AVIOContext *s, int b)
void avio_wb16(AVIOContext *s, unsigned int val)
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
#define i(width, name, range_min, range_max)
static int write_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
static void write_header(FFV1Context *f)
#define AV_LOG_WARNING
Something somehow does not look correct.
#define AV_NOPTS_VALUE
Undefined timestamp value.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
#define RCWT_CLUSTER_MAX_BLOCKS
static int rcwt_write_header(AVFormatContext *avf)
static int rcwt_write_trailer(AVFormatContext *avf)
static void rcwt_flush_cluster(AVFormatContext *avf)
static int rcwt_write_packet(AVFormatContext *avf, AVPacket *pkt)
static void rcwt_init_cluster(RCWTContext *rcwt)
AVIOContext * pb
I/O context.
void * priv_data
Format private data.
AVStream ** streams
A list of all streams in the file.
This structure stores compressed data.
uint8_t cluster_buf[RCWT_CLUSTER_MAX_BLOCKS *RCWT_BLOCK_SIZE]
static int write_trailer(AVFormatContext *s1)