Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
546ab20c
Commit
546ab20c
authored
Nov 20, 2019
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Fix tiffformat test on current Windows 10.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
feb3d8e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
tiffformat.c
dlls/windowscodecs/tests/tiffformat.c
+3
-5
No files found.
dlls/windowscodecs/tests/tiffformat.c
View file @
546ab20c
...
@@ -405,7 +405,6 @@ static void test_QueryCapability(void)
...
@@ -405,7 +405,6 @@ static void test_QueryCapability(void)
WICBitmapDecoderCapabilityCanDecodeSomeImages
;
WICBitmapDecoderCapabilityCanDecodeSomeImages
;
DWORD
capability
;
DWORD
capability
;
LARGE_INTEGER
pos
;
LARGE_INTEGER
pos
;
ULARGE_INTEGER
cur_pos
;
UINT
frame_count
;
UINT
frame_count
;
stream
=
create_stream
(
&
tiff_1bpp_data
,
sizeof
(
tiff_1bpp_data
));
stream
=
create_stream
(
&
tiff_1bpp_data
,
sizeof
(
tiff_1bpp_data
));
...
@@ -442,11 +441,9 @@ static void test_QueryCapability(void)
...
@@ -442,11 +441,9 @@ static void test_QueryCapability(void)
ok
(
hr
==
S_OK
,
"GetFrame error %#x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"GetFrame error %#x
\n
"
,
hr
);
IWICBitmapFrameDecode_Release
(
frame
);
IWICBitmapFrameDecode_Release
(
frame
);
pos
.
QuadPart
=
0
;
pos
.
QuadPart
=
5
;
hr
=
IStream_Seek
(
stream
,
pos
,
SEEK_
CUR
,
&
cur_pos
);
hr
=
IStream_Seek
(
stream
,
pos
,
SEEK_
SET
,
NULL
);
ok
(
hr
==
S_OK
,
"IStream_Seek error %#x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"IStream_Seek error %#x
\n
"
,
hr
);
ok
(
cur_pos
.
QuadPart
>
4
&&
cur_pos
.
QuadPart
<
sizeof
(
tiff_1bpp_data
),
"current stream pos is at %x/%x
\n
"
,
cur_pos
.
u
.
LowPart
,
cur_pos
.
u
.
HighPart
);
hr
=
IWICBitmapDecoder_QueryCapability
(
decoder
,
stream
,
&
capability
);
hr
=
IWICBitmapDecoder_QueryCapability
(
decoder
,
stream
,
&
capability
);
ok
(
hr
==
WINCODEC_ERR_WRONGSTATE
,
"expected WINCODEC_ERR_WRONGSTATE, got %#x
\n
"
,
hr
);
ok
(
hr
==
WINCODEC_ERR_WRONGSTATE
,
"expected WINCODEC_ERR_WRONGSTATE, got %#x
\n
"
,
hr
);
...
@@ -456,6 +453,7 @@ static void test_QueryCapability(void)
...
@@ -456,6 +453,7 @@ static void test_QueryCapability(void)
IWICBitmapDecoder_Release
(
decoder
);
IWICBitmapDecoder_Release
(
decoder
);
/* CreateDecoderFromStream fails if seeked past the start */
hr
=
IWICImagingFactory_CreateDecoderFromStream
(
factory
,
stream
,
NULL
,
0
,
&
decoder
);
hr
=
IWICImagingFactory_CreateDecoderFromStream
(
factory
,
stream
,
NULL
,
0
,
&
decoder
);
todo_wine
todo_wine
ok
(
hr
==
WINCODEC_ERR_COMPONENTNOTFOUND
,
"expected WINCODEC_ERR_COMPONENTNOTFOUND, got %#x
\n
"
,
hr
);
ok
(
hr
==
WINCODEC_ERR_COMPONENTNOTFOUND
,
"expected WINCODEC_ERR_COMPONENTNOTFOUND, got %#x
\n
"
,
hr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment