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
aaa16427
Commit
aaa16427
authored
Jul 27, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Fix warnings detected by compiling with inline wrappers.
parent
4a5eca88
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Makefile.in
dlls/windowscodecs/Makefile.in
+1
-1
fliprotate.c
dlls/windowscodecs/fliprotate.c
+1
-1
icoformat.c
dlls/windowscodecs/icoformat.c
+2
-2
No files found.
dlls/windowscodecs/Makefile.in
View file @
aaa16427
...
@@ -2,7 +2,7 @@ MODULE = windowscodecs.dll
...
@@ -2,7 +2,7 @@ MODULE = windowscodecs.dll
IMPORTLIB
=
windowscodecs
IMPORTLIB
=
windowscodecs
IMPORTS
=
uuid ole32 oleaut32 shlwapi advapi32 rpcrt4
IMPORTS
=
uuid ole32 oleaut32 shlwapi advapi32 rpcrt4
EXTRAINCL
=
@PNGINCL@
EXTRAINCL
=
@PNGINCL@
EXTRADEFS
=
-DENTRY_PREFIX
=
WIC_
-DPROXY_DELEGATION
-DWINE_REGISTER_DLL
EXTRADEFS
=
-DENTRY_PREFIX
=
WIC_
-DPROXY_DELEGATION
-DWINE_REGISTER_DLL
-DWIDL_C_INLINE_WRAPPERS
EXTRALIBS
=
@APPLICATIONSERVICESLIB@
EXTRALIBS
=
@APPLICATIONSERVICESLIB@
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/windowscodecs/fliprotate.c
View file @
aaa16427
...
@@ -179,7 +179,7 @@ static HRESULT WINAPI FlipRotator_CopyPixels(IWICBitmapFlipRotator *iface,
...
@@ -179,7 +179,7 @@ static HRESULT WINAPI FlipRotator_CopyPixels(IWICBitmapFlipRotator *iface,
if
(
!
prc
)
if
(
!
prc
)
{
{
UINT
width
,
height
;
UINT
width
,
height
;
hr
=
IWICBitmap
Source
_GetSize
(
iface
,
&
width
,
&
height
);
hr
=
IWICBitmap
FlipRotator
_GetSize
(
iface
,
&
width
,
&
height
);
if
(
FAILED
(
hr
))
return
hr
;
if
(
FAILED
(
hr
))
return
hr
;
rect
.
X
=
0
;
rect
.
X
=
0
;
rect
.
Y
=
0
;
rect
.
Y
=
0
;
...
...
dlls/windowscodecs/icoformat.c
View file @
aaa16427
...
@@ -697,14 +697,14 @@ static HRESULT WINAPI IcoDecoder_GetFrame(IWICBitmapDecoder *iface,
...
@@ -697,14 +697,14 @@ static HRESULT WINAPI IcoDecoder_GetFrame(IWICBitmapDecoder *iface,
LeaveCriticalSection
(
&
This
->
lock
);
LeaveCriticalSection
(
&
This
->
lock
);
IStream_Release
(
substream
);
I
WIC
Stream_Release
(
substream
);
return
S_OK
;
return
S_OK
;
fail:
fail:
LeaveCriticalSection
(
&
This
->
lock
);
LeaveCriticalSection
(
&
This
->
lock
);
HeapFree
(
GetProcessHeap
(),
0
,
result
);
HeapFree
(
GetProcessHeap
(),
0
,
result
);
if
(
substream
)
IStream_Release
(
substream
);
if
(
substream
)
I
WIC
Stream_Release
(
substream
);
if
(
SUCCEEDED
(
hr
))
hr
=
E_FAIL
;
if
(
SUCCEEDED
(
hr
))
hr
=
E_FAIL
;
TRACE
(
"<-- %x
\n
"
,
hr
);
TRACE
(
"<-- %x
\n
"
,
hr
);
return
hr
;
return
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