static int crc_write_header(struct AVFormatContext *s)
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigned int len)
Calculate the Adler32 checksum of a buffer.
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int write_trailer(AVFormatContext *s1)
static int crc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Public header for libavutil Adler32 hasher.
AVIOContext * pb
I/O context.
static int crc_write_trailer(struct AVFormatContext *s)
AVOutputFormat ff_crc_muxer
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)