• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "gif_lib.h"
2 #include "assert.h"
3 #include <stdint.h>
4 #include <stdlib.h>
5 #include <string.h>
6 
7 struct gifUserData
8 {
9 	size_t gifLen;
10 	size_t allocatedSize;
11 	uint8_t *gifData;
12 };
13 
14 extern "C" int GifQuantizeBuffer(unsigned int Width, unsigned int Height,
15                    int *ColorMapSize, GifByteType * RedInput,
16                    GifByteType * GreenInput, GifByteType * BlueInput,
17                    GifByteType * OutputBuffer,
18                    GifColorType * OutputColorMap);
19 
20 int stub_output_writer(GifFileType *gifFileType, GifByteType *gifByteType, int len);
21 int fuzz_egif(const uint8_t *Data, size_t Size);
22