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
4bb2c61b
Commit
4bb2c61b
authored
Dec 06, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Remove unneeded address-of operators from array names.
parent
9b90ea55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
gifformat.c
dlls/windowscodecs/gifformat.c
+1
-1
jpegformat.c
dlls/windowscodecs/jpegformat.c
+3
-3
No files found.
dlls/windowscodecs/gifformat.c
View file @
4bb2c61b
...
...
@@ -1362,7 +1362,7 @@ static HRESULT WINAPI GifDecoder_Block_GetReaderByIndex(IWICMetadataBlockReader
if
(
!
reader
)
return
E_INVALIDARG
;
if
(
index
==
0
)
return
create_metadata_reader
(
&
This
->
LSD_data
,
sizeof
(
This
->
LSD_data
),
return
create_metadata_reader
(
This
->
LSD_data
,
sizeof
(
This
->
LSD_data
),
&
CLSID_WICLSDMetadataReader
,
reader
);
for
(
i
=
0
;
i
<
This
->
gif
->
Extensions
.
ExtensionBlockCount
;
i
++
)
...
...
dlls/windowscodecs/jpegformat.c
View file @
4bb2c61b
...
...
@@ -1022,7 +1022,7 @@ static HRESULT WINAPI JpegEncoder_Frame_WritePixels(IWICBitmapFrameEncode *iface
HeapFree
(
GetProcessHeap
(),
0
,
swapped_data
);
return
E_FAIL
;
}
This
->
cinfo
.
client_data
=
&
jmpbuf
;
This
->
cinfo
.
client_data
=
jmpbuf
;
if
(
!
This
->
started_compress
)
{
...
...
@@ -1189,7 +1189,7 @@ static HRESULT WINAPI JpegEncoder_Frame_Commit(IWICBitmapFrameEncode *iface)
LeaveCriticalSection
(
&
This
->
lock
);
return
E_FAIL
;
}
This
->
cinfo
.
client_data
=
&
jmpbuf
;
This
->
cinfo
.
client_data
=
jmpbuf
;
pjpeg_finish_compress
(
&
This
->
cinfo
);
...
...
@@ -1299,7 +1299,7 @@ static HRESULT WINAPI JpegEncoder_Initialize(IWICBitmapEncoder *iface,
This
->
cinfo
.
err
=
&
This
->
jerr
;
This
->
cinfo
.
client_data
=
&
jmpbuf
;
This
->
cinfo
.
client_data
=
jmpbuf
;
if
(
setjmp
(
jmpbuf
))
{
...
...
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