31 snprintf(buf,
sizeof(buf),
"%d, %10"PRId64
", %10"PRId64
", %8d, %8d, 0x%08x\n",
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)
int duration
Duration of this packet in AVStream->time_base units, 0 if unknown.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int void avio_flush(AVIOContext *s)
int ff_framehash_write_header(AVFormatContext *s)
Set the timebase for each stream from the corresponding codec timebase and print it.
AVIOContext * pb
I/O context.
AVOutputFormat ff_framecrc_muxer
#define AVFMT_VARIABLE_FPS
#define AVFMT_TS_NONSTRICT
int64_t dts
Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed...
This structure stores compressed data.
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...