Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
1f84bd70
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,发现更多精彩内容 >>
提交
1f84bd70
编写于
12月 09, 2012
作者:
J
John Bowler
提交者:
Glenn Randers-Pehrson
12月 09, 2012
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Change png_warning() to png_app_error() in pngwrite.c and comment
the fall-through condition.
上级
b76ab126
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
5 deletion
+10
-5
ANNOUNCE
ANNOUNCE
+4
-2
CHANGES
CHANGES
+3
-1
pngwrite.c
pngwrite.c
+3
-2
未找到文件。
ANNOUNCE
浏览文件 @
1f84bd70
Libpng 1.6.0beta33 - December
9
, 2012
Libpng 1.6.0beta33 - December
10
, 2012
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.
...
...
@@ -552,9 +552,11 @@ Version 1.6.0beta32 [November 25, 2012]
Fixed error checking in the simplified write API (Olaf van der Spek)
Made png_user_version_check() ok to use with libpng version 1.10.x and later.
Version 1.6.0beta33 [December
9
, 2012]
Version 1.6.0beta33 [December
10
, 2012]
Fixed typo in png.c (PNG_SET_CHUNK_MALLOC_MAX should be PNG_CHUNK_MALLOC_MAX)
that causes the MALLOC_MAX limit not to work (John Bowler)
Change png_warning() to png_app_error() in pngwrite.c and comment the
fall-through condition.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
CHANGES
浏览文件 @
1f84bd70
...
...
@@ -4304,9 +4304,11 @@ Version 1.6.0beta32 [November 25, 2012]
Fixed error checking in the simplified write API (Olaf van der Spek)
Made png_user_version_check() ok to use with libpng version 1.10.x and later.
Version 1.6.0beta33 [December
9
, 2012]
Version 1.6.0beta33 [December
10
, 2012]
Fixed typo in png.c (PNG_SET_CHUNK_MALLOC_MAX should be PNG_CHUNK_MALLOC_MAX)
that causes the MALLOC_MAX limit not to work (John Bowler)
Change png_warning() to png_app_error() in pngwrite.c and comment the
fall-through condition.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
pngwrite.c
浏览文件 @
1f84bd70
...
...
@@ -936,7 +936,8 @@ png_set_filter(png_structrp png_ptr, int method, int filters)
#ifdef PNG_WRITE_FILTER_SUPPORTED
case
5
:
case
6
:
case
7
:
png_warning
(
png_ptr
,
"Unknown row filter for method 0"
);
case
7
:
png_app_error
(
png_ptr
,
"Unknown row filter for method 0"
);
/* Fall through */
#endif
/* PNG_WRITE_FILTER_SUPPORTED */
case
PNG_FILTER_VALUE_NONE
:
png_ptr
->
do_filter
=
PNG_FILTER_NONE
;
break
;
...
...
@@ -958,7 +959,7 @@ png_set_filter(png_structrp png_ptr, int method, int filters)
png_ptr
->
do_filter
=
(
png_byte
)
filters
;
break
;
#else
default:
png_
warning
(
png_ptr
,
"Unknown row filter for method 0"
);
png_
app_error
(
png_ptr
,
"Unknown row filter for method 0"
);
#endif
/* PNG_WRITE_FILTER_SUPPORTED */
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录