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
29a599a5
Commit
29a599a5
authored
Feb 04, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
Feb 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Replace a call to a deprecated libpng function.
It was removed in libpng 1.4.0.
parent
18799129
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pngformat.c
dlls/windowscodecs/pngformat.c
+3
-3
No files found.
dlls/windowscodecs/pngformat.c
View file @
29a599a5
...
...
@@ -58,8 +58,8 @@ MAKE_FUNCPTR(png_get_pHYs);
MAKE_FUNCPTR
(
png_get_PLTE
);
MAKE_FUNCPTR
(
png_get_tRNS
);
MAKE_FUNCPTR
(
png_set_bgr
);
MAKE_FUNCPTR
(
png_set_expand_gray_1_2_4_to_8
);
MAKE_FUNCPTR
(
png_set_filler
);
MAKE_FUNCPTR
(
png_set_gray_1_2_4_to_8
);
MAKE_FUNCPTR
(
png_set_gray_to_rgb
);
MAKE_FUNCPTR
(
png_set_IHDR
);
MAKE_FUNCPTR
(
png_set_pHYs
);
...
...
@@ -99,8 +99,8 @@ static void *load_libpng(void)
LOAD_FUNCPTR
(
png_get_PLTE
);
LOAD_FUNCPTR
(
png_get_tRNS
);
LOAD_FUNCPTR
(
png_set_bgr
);
LOAD_FUNCPTR
(
png_set_expand_gray_1_2_4_to_8
);
LOAD_FUNCPTR
(
png_set_filler
);
LOAD_FUNCPTR
(
png_set_gray_1_2_4_to_8
);
LOAD_FUNCPTR
(
png_set_gray_to_rgb
);
LOAD_FUNCPTR
(
png_set_IHDR
);
LOAD_FUNCPTR
(
png_set_pHYs
);
...
...
@@ -282,7 +282,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
{
if
(
bit_depth
<
8
)
{
ppng_set_gray_1_2_4_to_8
(
This
->
png_ptr
);
ppng_set_
expand_
gray_1_2_4_to_8
(
This
->
png_ptr
);
bit_depth
=
8
;
}
ppng_set_gray_to_rgb
(
This
->
png_ptr
);
...
...
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