Data Structures | Functions | Variables
crcenc.c File Reference
#include <inttypes.h>
#include "libavutil/adler32.h"
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  CRCState


static int crc_write_header (struct AVFormatContext *s)
static int crc_write_packet (struct AVFormatContext *s, AVPacket *pkt)
static int crc_write_trailer (struct AVFormatContext *s)


AVOutputFormat ff_crc_muxer

Function Documentation

static int crc_write_header ( struct AVFormatContext s)

Definition at line 31 of file crcenc.c.

static int crc_write_packet ( struct AVFormatContext s,
AVPacket pkt 

Definition at line 41 of file crcenc.c.

static int crc_write_trailer ( struct AVFormatContext s)

Definition at line 48 of file crcenc.c.

Variable Documentation

AVOutputFormat ff_crc_muxer
Initial value:
= {
.name = "crc",
.long_name = NULL_IF_CONFIG_SMALL("CRC testing"),
.priv_data_size = sizeof(CRCState),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:701
static int crc_write_header(struct AVFormatContext *s)
Definition: crcenc.c:31
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:98
static int crc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: crcenc.c:41
Format does not need / have any timestamps.
Definition: avformat.h:462
#define flags(name, subs,...)
Definition: cbs_av1.c:564
static int crc_write_trailer(struct AVFormatContext *s)
Definition: crcenc.c:48
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:346

Definition at line 59 of file crcenc.c.