Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
590fb8c4
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
12 个月 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
590fb8c4
编写于
6月 10, 2011
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Removed #ifdef in png.c that caused sCAL handler to leak memory.
上级
4e8d7ec5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
11 deletion
+9
-11
png.c
png.c
+2
-4
png.h
png.h
+6
-6
pngconf.h
pngconf.h
+1
-1
未找到文件。
png.c
浏览文件 @
590fb8c4
...
@@ -346,12 +346,10 @@ png_free_data(png_structp png_ptr, png_infop info_ptr, png_uint_32 mask,
...
@@ -346,12 +346,10 @@ png_free_data(png_structp png_ptr, png_infop info_ptr, png_uint_32 mask,
/* Free any sCAL entry */
/* Free any sCAL entry */
if
((
mask
&
PNG_FREE_SCAL
)
&
info_ptr
->
free_me
)
if
((
mask
&
PNG_FREE_SCAL
)
&
info_ptr
->
free_me
)
{
{
#if defined(PNG_FIXED_POINT_SUPPORTED) && !defined(PNG_FLOATING_POINT_SUPPORTED)
png_free
(
png_ptr
,
info_ptr
->
scal_s_width
);
png_free
(
png_ptr
,
info_ptr
->
scal_s_width
);
png_free
(
png_ptr
,
info_ptr
->
scal_s_height
);
png_free
(
png_ptr
,
info_ptr
->
scal_s_height
);
info_ptr
->
scal_s_width
=
NULL
;
info_ptr
->
scal_s_width
=
NULL
;
info_ptr
->
scal_s_height
=
NULL
;
info_ptr
->
scal_s_height
=
NULL
;
#endif
info_ptr
->
valid
&=
~
PNG_INFO_sCAL
;
info_ptr
->
valid
&=
~
PNG_INFO_sCAL
;
}
}
#endif
#endif
...
@@ -619,13 +617,13 @@ png_get_copyright(png_const_structp png_ptr)
...
@@ -619,13 +617,13 @@ png_get_copyright(png_const_structp png_ptr)
#else
#else
# ifdef __STDC__
# ifdef __STDC__
return
PNG_STRING_NEWLINE
\
return
PNG_STRING_NEWLINE
\
"libpng version 1.5.3rc03 - June
8
, 2011"
PNG_STRING_NEWLINE
\
"libpng version 1.5.3rc03 - June
11
, 2011"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2011 Glenn Randers-Pehrson"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2011 Glenn Randers-Pehrson"
PNG_STRING_NEWLINE
\
"Copyright (c) 1996-1997 Andreas Dilger"
PNG_STRING_NEWLINE
\
"Copyright (c) 1996-1997 Andreas Dilger"
PNG_STRING_NEWLINE
\
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
\
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
\
PNG_STRING_NEWLINE
;
PNG_STRING_NEWLINE
;
# else
# else
return
"libpng version 1.5.3rc03 - June
8
, 2011\
return
"libpng version 1.5.3rc03 - June
11
, 2011\
Copyright (c) 1998-2011 Glenn Randers-Pehrson\
Copyright (c) 1998-2011 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
;
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
;
...
...
png.h
浏览文件 @
590fb8c4
/* png.h - header file for PNG reference library
/* png.h - header file for PNG reference library
*
*
* libpng version 1.5.3rc03 - June
8
, 2011
* libpng version 1.5.3rc03 - June
11
, 2011
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
* Authors and maintainers:
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.5.3rc03 - June
8
, 2011: Glenn
* libpng versions 0.97, January 1998, through 1.5.3rc03 - June
11
, 2011: Glenn
* See also "Contributing Authors", below.
* See also "Contributing Authors", below.
*
*
* Note about libpng version numbers:
* Note about libpng version numbers:
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
* 1.5.2rc01-03 15 10502 15.so.15.2[.0]
* 1.5.2rc01-03 15 10502 15.so.15.2[.0]
* 1.5.2 15 10502 15.so.15.2[.0]
* 1.5.2 15 10502 15.so.15.2[.0]
* 1.5.3beta01-10 15 10503 15.so.15.3[.0]
* 1.5.3beta01-10 15 10503 15.so.15.3[.0]
* 1.5.3rc01
15 10503 15.so.15.3[.0]
* 1.5.3rc01
-03
15 10503 15.so.15.3[.0]
*
*
* Henceforth the source version will match the shared-library major
* Henceforth the source version will match the shared-library major
* and minor numbers; the shared-library major version number will be
* and minor numbers; the shared-library major version number will be
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
*
*
* This code is released under the libpng license.
* This code is released under the libpng license.
*
*
* libpng versions 1.2.6, August 15, 2004, through 1.5.3rc03, June
8
, 2011, are
* libpng versions 1.2.6, August 15, 2004, through 1.5.3rc03, June
11
, 2011, are
* Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are
* Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are
* distributed according to the same disclaimer and license as libpng-1.2.5
* distributed according to the same disclaimer and license as libpng-1.2.5
* with the following individual added to the list of Contributing Authors:
* with the following individual added to the list of Contributing Authors:
...
@@ -295,7 +295,7 @@
...
@@ -295,7 +295,7 @@
* Y2K compliance in libpng:
* Y2K compliance in libpng:
* =========================
* =========================
*
*
* June
8
, 2011
* June
11
, 2011
*
*
* Since the PNG Development group is an ad-hoc body, we can't make
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
* an official declaration.
...
@@ -358,7 +358,7 @@
...
@@ -358,7 +358,7 @@
/* Version information for png.h - this should match the version in png.c */
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.5.3rc03"
#define PNG_LIBPNG_VER_STRING "1.5.3rc03"
#define PNG_HEADER_VERSION_STRING \
#define PNG_HEADER_VERSION_STRING \
" libpng version 1.5.3rc03 - June
8
, 2011\n"
" libpng version 1.5.3rc03 - June
11
, 2011\n"
#define PNG_LIBPNG_VER_SONUM 15
#define PNG_LIBPNG_VER_SONUM 15
#define PNG_LIBPNG_VER_DLLNUM 15
#define PNG_LIBPNG_VER_DLLNUM 15
...
...
pngconf.h
浏览文件 @
590fb8c4
/* pngconf.h - machine configurable file for libpng
/* pngconf.h - machine configurable file for libpng
*
*
* libpng version 1.5.3rc03 - June
8
, 2011
* libpng version 1.5.3rc03 - June
11
, 2011
*
*
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录