FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
 

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
 

Function Documentation

static int crc_write_header ( struct AVFormatContext s)
static

Definition at line 31 of file crcenc.c.

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

Definition at line 41 of file crcenc.c.

static int crc_write_trailer ( struct AVFormatContext s)
static

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,
}

Definition at line 59 of file crcenc.c.