gdiplus: Correct signature/mask info for the GIF codec.

This commit is contained in:
Dmitry Timoshkov 2012-08-27 12:04:31 +09:00 committed by Alexandre Julliard
parent bc62a82f85
commit ac8019df3d
1 changed files with 4 additions and 4 deletions

View File

@ -3759,8 +3759,8 @@ static const WCHAR gif_codecname[] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ',
static const WCHAR gif_extension[] = {'*','.','G','I','F',0}; static const WCHAR gif_extension[] = {'*','.','G','I','F',0};
static const WCHAR gif_mimetype[] = {'i','m','a','g','e','/','g','i','f', 0}; static const WCHAR gif_mimetype[] = {'i','m','a','g','e','/','g','i','f', 0};
static const WCHAR gif_format[] = {'G','I','F',0}; static const WCHAR gif_format[] = {'G','I','F',0};
static const BYTE gif_sig_pattern[4] = "GIF8"; static const BYTE gif_sig_pattern[12] = "GIF87aGIF89a";
static const BYTE gif_sig_mask[] = { 0xFF, 0xFF, 0xFF, 0xFF }; static const BYTE gif_sig_mask[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
static const WCHAR tiff_codecname[] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'T','I','F','F', 0}; static const WCHAR tiff_codecname[] = {'B', 'u', 'i','l', 't', '-','i', 'n', ' ', 'T','I','F','F', 0};
static const WCHAR tiff_extension[] = {'*','.','T','I','F','F',';','*','.','T','I','F',0}; static const WCHAR tiff_extension[] = {'*','.','T','I','F','F',';','*','.','T','I','F',0};
@ -3847,8 +3847,8 @@ static const struct image_codec codecs[NUM_CODECS] = {
/* MimeType */ gif_mimetype, /* MimeType */ gif_mimetype,
/* Flags */ ImageCodecFlagsDecoder | ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin, /* Flags */ ImageCodecFlagsDecoder | ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin,
/* Version */ 1, /* Version */ 1,
/* SigCount */ 1, /* SigCount */ 2,
/* SigSize */ 4, /* SigSize */ 6,
/* SigPattern */ gif_sig_pattern, /* SigPattern */ gif_sig_pattern,
/* SigMask */ gif_sig_mask, /* SigMask */ gif_sig_mask,
}, },