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
075d28d8
Commit
075d28d8
authored
Nov 23, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Reimplement GetFrameCount of the ICO decoder.
parent
eb26db27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
icoformat.c
dlls/windowscodecs/icoformat.c
+6
-4
No files found.
dlls/windowscodecs/icoformat.c
View file @
075d28d8
...
...
@@ -603,12 +603,14 @@ static HRESULT WINAPI IcoDecoder_GetFrameCount(IWICBitmapDecoder *iface,
UINT
*
pCount
)
{
IcoDecoder
*
This
=
impl_from_IWICBitmapDecoder
(
iface
);
TRACE
(
"(%p,%p)
\n
"
,
iface
,
pCount
);
if
(
!
This
->
initialized
)
return
WINCODEC_ERR_NOTINITIALIZED
;
if
(
!
pCount
)
return
E_INVALIDARG
;
*
pCount
=
This
->
header
.
idCount
;
TRACE
(
"<-- %u
\n
"
,
*
pCount
);
EnterCriticalSection
(
&
This
->
lock
);
*
pCount
=
This
->
initialized
?
This
->
header
.
idCount
:
0
;
LeaveCriticalSection
(
&
This
->
lock
);
TRACE
(
"(%p) <-- %d
\n
"
,
iface
,
*
pCount
);
return
S_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