Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9db35b9c
Commit
9db35b9c
authored
Sep 18, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Use symbolic names for GIF extensions.
parent
45504e90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
gifformat.c
dlls/windowscodecs/gifformat.c
+4
-2
No files found.
dlls/windowscodecs/gifformat.c
View file @
9db35b9c
...
...
@@ -348,7 +348,8 @@ static HRESULT load_APE_metadata(IStream *stream, const GUID *vendor, DWORD opti
hr
=
IStream_Read
(
stream
,
&
ape_data
,
sizeof
(
ape_data
),
&
bytesread
);
if
(
FAILED
(
hr
)
||
bytesread
!=
sizeof
(
ape_data
))
return
S_OK
;
if
(
ape_data
.
extension_introducer
!=
0x21
||
ape_data
.
extension_label
!=
0xff
||
if
(
ape_data
.
extension_introducer
!=
0x21
||
ape_data
.
extension_label
!=
APPLICATION_EXT_FUNC_CODE
||
ape_data
.
block_size
!=
11
)
return
S_OK
;
...
...
@@ -455,7 +456,8 @@ static HRESULT load_GifComment_metadata(IStream *stream, const GUID *vendor, DWO
hr
=
IStream_Read
(
stream
,
&
ext_data
,
sizeof
(
ext_data
),
&
bytesread
);
if
(
FAILED
(
hr
)
||
bytesread
!=
sizeof
(
ext_data
))
return
S_OK
;
if
(
ext_data
.
extension_introducer
!=
0x21
||
ext_data
.
extension_label
!=
0xfe
)
if
(
ext_data
.
extension_introducer
!=
0x21
||
ext_data
.
extension_label
!=
COMMENT_EXT_FUNC_CODE
)
return
S_OK
;
data
=
NULL
;
...
...
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