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
631d9860
Commit
631d9860
authored
Oct 20, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
Oct 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Seek to start of stream when opening TIFF files.
parent
a044639d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tiffformat.c
dlls/windowscodecs/tiffformat.c
+5
-0
No files found.
dlls/windowscodecs/tiffformat.c
View file @
631d9860
...
...
@@ -183,6 +183,11 @@ static void tiff_stream_unmap(thandle_t client_data, tdata_t addr, toff_t size)
static
TIFF
*
tiff_open_stream
(
IStream
*
stream
,
const
char
*
mode
)
{
LARGE_INTEGER
zero
;
zero
.
QuadPart
=
0
;
IStream_Seek
(
stream
,
zero
,
STREAM_SEEK_SET
,
NULL
);
return
pTIFFClientOpen
(
"<IStream object>"
,
mode
,
stream
,
tiff_stream_read
,
tiff_stream_write
,
tiff_stream_seek
,
tiff_stream_close
,
tiff_stream_size
,
tiff_stream_map
,
tiff_stream_unmap
);
...
...
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