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
2af09b49
Commit
2af09b49
authored
Mar 20, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Mar 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add missing returns in initialize_decoder_wic (Coverity).
parent
137128fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
image.c
dlls/gdiplus/image.c
+3
-3
No files found.
dlls/gdiplus/image.c
View file @
2af09b49
...
...
@@ -3425,13 +3425,13 @@ static GpStatus initialize_decoder_wic(IStream *stream, REFGUID container, IWICB
TRACE
(
"%p,%s
\n
"
,
stream
,
wine_dbgstr_guid
(
container
));
hr
=
WICCreateImagingFactory_Proxy
(
WINCODEC_SDK_VERSION
,
&
factory
);
if
(
FAILED
(
hr
))
hresult_to_status
(
hr
);
if
(
FAILED
(
hr
))
return
hresult_to_status
(
hr
);
hr
=
IWICImagingFactory_CreateDecoder
(
factory
,
container
,
NULL
,
decoder
);
IWICImagingFactory_Release
(
factory
);
if
(
FAILED
(
hr
))
hresult_to_status
(
hr
);
if
(
FAILED
(
hr
))
return
hresult_to_status
(
hr
);
hr
=
IWICBitmapDecoder_Initialize
(
*
decoder
,
stream
,
WICDecodeMetadataCacheOnLoad
);
if
(
FAILED
(
hr
))
hresult_to_status
(
hr
);
if
(
FAILED
(
hr
))
return
hresult_to_status
(
hr
);
return
Ok
;
}
...
...
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