You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
624 B
22 lines
624 B
4 months ago
|
#include "gif_lib.h"
|
||
|
#include "assert.h"
|
||
|
#include <stdint.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
struct gifUserData
|
||
|
{
|
||
|
size_t gifLen;
|
||
|
size_t allocatedSize;
|
||
|
uint8_t *gifData;
|
||
|
};
|
||
|
|
||
|
extern "C" int GifQuantizeBuffer(unsigned int Width, unsigned int Height,
|
||
|
int *ColorMapSize, GifByteType * RedInput,
|
||
|
GifByteType * GreenInput, GifByteType * BlueInput,
|
||
|
GifByteType * OutputBuffer,
|
||
|
GifColorType * OutputColorMap);
|
||
|
|
||
|
int stub_output_writer(GifFileType *gifFileType, GifByteType *gifByteType, int len);
|
||
|
int fuzz_egif(const uint8_t *Data, size_t Size);
|