Dmitry Timoshkov : gdiplus: Make GIF palettes in a custom test image slightly more different.

Alexandre Julliard julliard at winehq.org
Mon Sep 24 16:04:27 CDT 2012


Module: wine
Branch: master
Commit: 5f9be70570c756b27b78a34caf9e30a7f146d38d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5f9be70570c756b27b78a34caf9e30a7f146d38d

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Sep 24 16:05:45 2012 +0900

gdiplus: Make GIF palettes in a custom test image slightly more different.

---

 dlls/gdiplus/tests/image.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c
index 59a5064..b792ebe 100644
--- a/dlls/gdiplus/tests/image.c
+++ b/dlls/gdiplus/tests/image.c
@@ -3922,7 +3922,7 @@ static void test_DrawImage_scale(void)
 
 static const BYTE animatedgif[] = {
 'G','I','F','8','9','a',0x01,0x00,0x01,0x00,0xA1,0x02,0x00,
-0x6F,0x6F,0x6F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,
 /*0x21,0xFF,0x0B,'A','N','I','M','E','X','T','S','1','.','0',*/
 0x21,0xFF,0x0B,'N','E','T','S','C','A','P','E','2','.','0',
 0x03,0x01,0x05,0x00,0x00,
@@ -3930,14 +3930,14 @@ static const BYTE animatedgif[] = {
 0x21,0x01,0x0D,'a','n','i','m','a','t','i','o','n','.','g','i','f',0x00,
 0x21,0xF9,0x04,0xff,0x0A,0x00,0x08,0x00,
 0x2C,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x81,
-0xDE,0xDE,0xDE,0x00,0x00,0x00,
-0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x4C,0x01,0x00,
+0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,
+0x02,0x02,0x4C,0x01,0x00,
 0x21,0xFE,0x08,'i','m','a','g','e',' ','#','1',0x00,
 0x21,0x01,0x0C,'p','l','a','i','n','t','e','x','t',' ','#','1',0x00,
 0x21,0xF9,0x04,0x00,0x14,0x00,0x01,0x00,
 0x2C,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x81,
-0x4D,0x4D,0x4D,0x00,0x00,0x00,
-0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x44,0x01,0x00,
+0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,
+0x02,0x02,0x44,0x01,0x00,
 0x21,0xFE,0x08,'i','m','a','g','e',' ','#','2',0x00,
 0x21,0x01,0x0C,'p','l','a','i','n','t','e','x','t',' ','#','2',0x00,0x3B
 };
@@ -3953,7 +3953,7 @@ static void test_gif_properties(void)
         { PropertyTagTypeLong, PropertyTagFrameDelay, 8, { 10,0,0,0,20,0,0,0 } },
         { PropertyTagTypeASCII, PropertyTagExifUserComment, 13, { 'H','e','l','l','o',' ','W','o','r','l','d','!',0 } },
         { PropertyTagTypeShort, PropertyTagLoopCount, 2, { 5,0 } },
-        { PropertyTagTypeByte, PropertyTagGlobalPalette, 12, { 0x6f,0x6f,0x6f,0,0,0,0,0,0,0,0,0 } },
+        { PropertyTagTypeByte, PropertyTagGlobalPalette, 12, { 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c } },
         { PropertyTagTypeByte, PropertyTagIndexBackground, 1, { 2 } },
         { PropertyTagTypeByte, PropertyTagIndexTransparent, 1, { 8 } }
     };




More information about the wine-cvs mailing list