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
e1b72917
Commit
e1b72917
authored
Nov 01, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Remove unneeded address-of operators from array names.
parent
cb84c2da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
jpegformat.c
dlls/windowscodecs/jpegformat.c
+2
-2
pngformat.c
dlls/windowscodecs/pngformat.c
+4
-4
No files found.
dlls/windowscodecs/jpegformat.c
View file @
e1b72917
...
@@ -284,7 +284,7 @@ static HRESULT WINAPI JpegDecoder_Initialize(IWICBitmapDecoder *iface, IStream *
...
@@ -284,7 +284,7 @@ static HRESULT WINAPI JpegDecoder_Initialize(IWICBitmapDecoder *iface, IStream *
This
->
cinfo
.
err
=
&
This
->
jerr
;
This
->
cinfo
.
err
=
&
This
->
jerr
;
This
->
cinfo
.
client_data
=
&
jmpbuf
;
This
->
cinfo
.
client_data
=
jmpbuf
;
if
(
setjmp
(
jmpbuf
))
if
(
setjmp
(
jmpbuf
))
{
{
...
@@ -576,7 +576,7 @@ static HRESULT WINAPI JpegDecoder_Frame_CopyPixels(IWICBitmapFrameDecode *iface,
...
@@ -576,7 +576,7 @@ static HRESULT WINAPI JpegDecoder_Frame_CopyPixels(IWICBitmapFrameDecode *iface,
}
}
}
}
This
->
cinfo
.
client_data
=
&
jmpbuf
;
This
->
cinfo
.
client_data
=
jmpbuf
;
if
(
setjmp
(
jmpbuf
))
if
(
setjmp
(
jmpbuf
))
{
{
...
...
dlls/windowscodecs/pngformat.c
View file @
e1b72917
...
@@ -304,7 +304,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
...
@@ -304,7 +304,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
hr
=
E_FAIL
;
hr
=
E_FAIL
;
goto
end
;
goto
end
;
}
}
ppng_set_error_fn
(
This
->
png_ptr
,
&
jmpbuf
,
user_error_fn
,
user_warning_fn
);
ppng_set_error_fn
(
This
->
png_ptr
,
jmpbuf
,
user_error_fn
,
user_warning_fn
);
/* seek to the start of the stream */
/* seek to the start of the stream */
seek
.
QuadPart
=
0
;
seek
.
QuadPart
=
0
;
...
@@ -1015,7 +1015,7 @@ static HRESULT WINAPI PngFrameEncode_WritePixels(IWICBitmapFrameEncode *iface,
...
@@ -1015,7 +1015,7 @@ static HRESULT WINAPI PngFrameEncode_WritePixels(IWICBitmapFrameEncode *iface,
HeapFree
(
GetProcessHeap
(),
0
,
row_pointers
);
HeapFree
(
GetProcessHeap
(),
0
,
row_pointers
);
return
E_FAIL
;
return
E_FAIL
;
}
}
ppng_set_error_fn
(
This
->
png_ptr
,
&
jmpbuf
,
user_error_fn
,
user_warning_fn
);
ppng_set_error_fn
(
This
->
png_ptr
,
jmpbuf
,
user_error_fn
,
user_warning_fn
);
if
(
!
This
->
info_written
)
if
(
!
This
->
info_written
)
{
{
...
@@ -1153,7 +1153,7 @@ static HRESULT WINAPI PngFrameEncode_Commit(IWICBitmapFrameEncode *iface)
...
@@ -1153,7 +1153,7 @@ static HRESULT WINAPI PngFrameEncode_Commit(IWICBitmapFrameEncode *iface)
LeaveCriticalSection
(
&
This
->
lock
);
LeaveCriticalSection
(
&
This
->
lock
);
return
E_FAIL
;
return
E_FAIL
;
}
}
ppng_set_error_fn
(
This
->
png_ptr
,
&
jmpbuf
,
user_error_fn
,
user_warning_fn
);
ppng_set_error_fn
(
This
->
png_ptr
,
jmpbuf
,
user_error_fn
,
user_warning_fn
);
ppng_write_end
(
This
->
png_ptr
,
This
->
info_ptr
);
ppng_write_end
(
This
->
png_ptr
,
This
->
info_ptr
);
...
@@ -1305,7 +1305,7 @@ static HRESULT WINAPI PngEncoder_Initialize(IWICBitmapEncoder *iface,
...
@@ -1305,7 +1305,7 @@ static HRESULT WINAPI PngEncoder_Initialize(IWICBitmapEncoder *iface,
LeaveCriticalSection
(
&
This
->
lock
);
LeaveCriticalSection
(
&
This
->
lock
);
return
E_FAIL
;
return
E_FAIL
;
}
}
ppng_set_error_fn
(
This
->
png_ptr
,
&
jmpbuf
,
user_error_fn
,
user_warning_fn
);
ppng_set_error_fn
(
This
->
png_ptr
,
jmpbuf
,
user_error_fn
,
user_warning_fn
);
/* set up custom i/o handling */
/* set up custom i/o handling */
ppng_set_write_fn
(
This
->
png_ptr
,
This
,
user_write_data
,
user_flush
);
ppng_set_write_fn
(
This
->
png_ptr
,
This
,
user_write_data
,
user_flush
);
...
...
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