summaryrefslogtreecommitdiff
path: root/core/fxcodec/gif/cfx_gif.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcodec/gif/cfx_gif.h')
-rw-r--r--core/fxcodec/gif/cfx_gif.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/fxcodec/gif/cfx_gif.h b/core/fxcodec/gif/cfx_gif.h
index e9eb5c4054..ab8278ecd2 100644
--- a/core/fxcodec/gif/cfx_gif.h
+++ b/core/fxcodec/gif/cfx_gif.h
@@ -12,7 +12,9 @@
class CFX_GifContext;
-#define GIF_SIGNATURE "GIF"
+extern const char* kGifSignature87;
+extern const char* kGifSignature89;
+
#define GIF_SIG_EXTENSION 0x21
#define GIF_SIG_IMAGE 0x2C
#define GIF_SIG_TRAILER 0x3B
@@ -49,10 +51,7 @@ typedef struct {
uint8_t local_pal : 1;
} CFX_GifLocalFlags;
-typedef struct {
- char signature[3];
- char version[3];
-} CFX_GifHeader;
+typedef struct { char signature[6]; } CFX_GifHeader;
typedef struct {
uint16_t width;