Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
06ee5322
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
提交
06ee5322
编写于
3月 08, 2015
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Reverted new test on unknown chunk location; it was bogus.
上级
bbe2be3f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
3 addition
and
21 deletion
+3
-21
ANNOUNCE
ANNOUNCE
+2
-4
CHANGES
CHANGES
+1
-3
pngset.c
pngset.c
+0
-12
tests/pngunknown-sAPI
tests/pngunknown-sAPI
+0
-2
未找到文件。
ANNOUNCE
浏览文件 @
06ee5322
Libpng 1.6.17rc02 - March
7
, 2015
Libpng 1.6.17rc02 - March
8
, 2015
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
...
...
@@ -68,11 +68,9 @@ Version 1.6.17beta06 [February 27, 2015]
Version 1.6.17rc01 [March 4, 2015]
No changes.
Version 1.6.17rc02 [March
7
, 2015]
Version 1.6.17rc02 [March
8
, 2015]
Removed some comments that the configure script did not handle
properly from scripts/pnglibconf.dfa and pnglibconf.h.prebuilt.
Stopped a potential memory leak in png_set_unknown_chunks(). Breaks
tests/pngunknown-sAPI so it's temporarily marked SKIP.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
CHANGES
浏览文件 @
06ee5322
...
...
@@ -5169,11 +5169,9 @@ Version 1.6.17beta06 [February 27, 2015]
Version 1.6.17rc01 [March 4, 2015]
No changes.
Version 1.6.17rc02 [March
7
, 2015]
Version 1.6.17rc02 [March
8
, 2015]
Removed some comments that the configure script did not handle
properly from scripts/pnglibconf.dfa and pnglibconf.h.prebuilt.
Stopped a potential memory leak in png_set_unknown_chunks(). Breaks
tests/pngunknown-sAPI so it's temporarily marked SKIP.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
pngset.c
浏览文件 @
06ee5322
...
...
@@ -1180,17 +1180,6 @@ png_set_unknown_chunks(png_const_structrp png_ptr,
return
;
}
if
((
np
->
location
&
(
PNG_HAVE_IHDR
|
PNG_HAVE_PLTE
|
PNG_AFTER_IDAT
))
==
0
)
{
png_free
(
png_ptr
,
np
);
np
=
NULL
;
png_chunk_report
(
png_ptr
,
"invalid chunk location in png_set_unknown_chunks"
,
PNG_CHUNK_WRITE_ERROR
);
return
;
}
png_free
(
png_ptr
,
info_ptr
->
unknown_chunks
);
info_ptr
->
unknown_chunks
=
np
;
/* safe because it is initialized */
info_ptr
->
free_me
|=
PNG_FREE_UNKN
;
...
...
@@ -1267,7 +1256,6 @@ png_set_unknown_chunk_location(png_const_structrp png_ptr, png_inforp info_ptr,
}
#endif
/* STORE_UNKNOWN_CHUNKS */
#ifdef PNG_MNG_FEATURES_SUPPORTED
png_uint_32
PNGAPI
png_permit_mng_features
(
png_structrp
png_ptr
,
png_uint_32
mng_features
)
...
...
tests/pngunknown-sAPI
浏览文件 @
06ee5322
#!/bin/sh
code
=
77
# skipped
exit
77
exec
./pngunknown
bKGD
=
save
cHRM
=
save
gAMA
=
save
all
=
discard
iCCP
=
save
sBIT
=
save
sRGB
=
save
"
${
srcdir
}
/pngtest.png"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录