crcenc.c File Reference
#include "libavutil/adler32.h"
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  CRCState
 

Typedefs

typedef struct CRCState CRCState
 

Functions

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)
 

Variables

AVOutputFormat ff_crc_muxer
 

Typedef Documentation

typedef struct CRCState CRCState

Function Documentation

static int crc_write_header ( struct AVFormatContext s)
static

Definition at line 29 of file crcenc.c.

static int crc_write_packet ( struct AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 39 of file crcenc.c.

static int crc_write_trailer ( struct AVFormatContext s)
static

Definition at line 46 of file crcenc.c.

Variable Documentation

AVOutputFormat ff_crc_muxer
Initial value:
= {
.name = "crc",
.long_name = NULL_IF_CONFIG_SMALL("CRC testing"),
.extensions = "",
.priv_data_size = sizeof(CRCState),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
.flags = AVFMT_NOTIMESTAMPS,
}

Definition at line 57 of file crcenc.c.