Vitaly Perov <vitperov(a)etersoft.ru> writes:
> @@ -1002,6 +1002,54 @@ static unsigned char gif4pixel[42] = {
> 0x02,0x00,0x00,0x02,0x03,0x14,0x16,0x05,0x00,0x3b
> };
>
> +/* Corrupted images */
> +/* 1x1 pixel corrupted bmp */
> +static unsigned char corruptedbmpimage[38] = {
> +0x42,0x4d,0x26,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x22,0x00,0x00,0x00,0x0c,0x00,
> +0x00,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0xff,0xff,0xff,0x00,0x55,0x55,
> +0x55,0x00,0x00,0x00,0x00,0x00
> +};
You should modify the data in place like other tests already do. There's
no reason to duplicate it all.
--
Alexandre Julliard
julliard(a)winehq.org