FFmpeg
Loading...
Searching...
No Matches
target_enc_fuzzer.c File Reference

Go to the source code of this file.

Macros

#define ENCODER_SYMBOL0(CODEC)
#define ENCODER_SYMBOL(CODEC)

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
static void error (const char *err)
static int encode (AVCodecContext *enc_ctx, AVFrame *frame, AVPacket *pkt)

Variables

const FFCodeccodec_list []
static const FFCodecc = NULL
const uint32_t maxiteration = 8096

Macro Definition Documentation

◆ ENCODER_SYMBOL0

#define ENCODER_SYMBOL0 ( CODEC)
Value:
ff_##CODEC##_encoder

◆ ENCODER_SYMBOL

#define ENCODER_SYMBOL ( CODEC)
Value:
#define ENCODER_SYMBOL0(CODEC)

Referenced by LLVMFuzzerTestOneInput().

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t * data,
size_t size )

Definition at line 73 of file target_enc_fuzzer.c.

◆ error()

void error ( const char * err)
static

Definition at line 40 of file target_enc_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ encode()

int encode ( AVCodecContext * enc_ctx,
AVFrame * frame,
AVPacket * pkt )
static

Definition at line 52 of file target_enc_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

Variable Documentation

◆ codec_list

const FFCodec* codec_list[]
extern

◆ c

const FFCodec* c = NULL
static

Definition at line 46 of file target_enc_fuzzer.c.

◆ maxiteration

const uint32_t maxiteration = 8096

Definition at line 49 of file target_enc_fuzzer.c.