30 snprintf(buf,
sizeof(buf),
"%d, %"PRId64
", %d, 0x%08x\n", pkt->
stream_index, pkt->
dts, pkt->
size, crc);
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
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. ...
int void avio_flush(AVIOContext *s)
AVOutputFormat ff_framecrc_muxer
int64_t dts
Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed...