Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
d9d4ceca
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,发现更多精彩内容 >>
提交
d9d4ceca
编写于
7月 12, 2010
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Removed some newly-added TAB characters.
上级
f1202087
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
33 addition
and
29 deletion
+33
-29
ANNOUNCE
ANNOUNCE
+3
-0
CHANGES
CHANGES
+1
-0
pngconf.h
pngconf.h
+3
-3
pngpread.c
pngpread.c
+25
-25
pngrutil.c
pngrutil.c
+1
-1
未找到文件。
ANNOUNCE
浏览文件 @
d9d4ceca
...
...
@@ -281,6 +281,9 @@ version 1.5.0beta33 [July 6, 2010]
version 1.5.0beta34 [July 12, 2010]
Put #ifndef PNG_EXTERN, #endif around the define PNG_EXTERN in pngpriv.h
version 1.5.0beta35 [July 12, 2010]
Removed some newly-added TAB characters.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
...
...
CHANGES
浏览文件 @
d9d4ceca
...
...
@@ -2764,6 +2764,7 @@ version 1.5.0beta34 [July 12, 2010]
Put #ifndef PNG_EXTERN, #endif around the define PNG_EXTERN in pngpriv.h
version 1.5.0beta35 [July 12, 2010]
Removed some newly-added TAB characters.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
pngconf.h
浏览文件 @
d9d4ceca
...
...
@@ -242,9 +242,9 @@
# ifdef PNGLIB_BUILD
/* Building the library */
# if (defined(DLL_EXPORT)
/*from libtool*/
||\
defined(_WINDLL) || defined(_DLL) || defined(__DLL__) ||\
defined(_USRDLL) ||\
defined(PNG_BUILD_DLL)) && defined(PNG_DLL_EXPORT)
defined(_WINDLL) || defined(_DLL) || defined(__DLL__) ||\
defined(_USRDLL) ||\
defined(PNG_BUILD_DLL)) && defined(PNG_DLL_EXPORT)
/* Building a DLL. */
# define PNG_IMPEXP PNG_DLL_EXPORT
# endif
/* DLL */
...
...
pngpread.c
浏览文件 @
d9d4ceca
...
...
@@ -851,7 +851,7 @@ png_process_IDAT_data(png_structp png_ptr, png_bytep buffer,
* or the stream marked as finished.
*/
while
(
png_ptr
->
zstream
.
avail_in
>
0
&&
!
(
png_ptr
->
flags
&
PNG_FLAG_ZLIB_FINISHED
))
!
(
png_ptr
->
flags
&
PNG_FLAG_ZLIB_FINISHED
))
{
int
ret
;
...
...
@@ -881,51 +881,51 @@ png_process_IDAT_data(png_structp png_ptr, png_bytep buffer,
/* Check for any failure before proceeding. */
if
(
ret
!=
Z_OK
&&
ret
!=
Z_STREAM_END
)
{
/* Terminate the decompression. */
png_ptr
->
flags
|=
PNG_FLAG_ZLIB_FINISHED
;
/* Terminate the decompression. */
png_ptr
->
flags
|=
PNG_FLAG_ZLIB_FINISHED
;
/* This may be a truncated stream (missing or
* damaged end code). Treat that as a warning.
*/
* damaged end code). Treat that as a warning.
*/
if
(
png_ptr
->
row_number
>=
png_ptr
->
num_rows
||
png_ptr
->
pass
>
6
)
png_warning
(
png_ptr
,
"Truncated compressed data in IDAT"
);
png_ptr
->
pass
>
6
)
png_warning
(
png_ptr
,
"Truncated compressed data in IDAT"
);
else
png_error
(
png_ptr
,
"Decompression error in IDAT"
);
else
png_error
(
png_ptr
,
"Decompression error in IDAT"
);
/* Skip the check on unprocessed input */
/* Skip the check on unprocessed input */
return
;
}
/* Did inflate output any data? */
if
(
png_ptr
->
zstream
.
next_out
!=
png_ptr
->
row_buf
)
{
/* Is this unexpected data after the last row?
* If it is, artificially terminate the LZ output
* here.
*/
/* Is this unexpected data after the last row?
* If it is, artificially terminate the LZ output
* here.
*/
if
(
png_ptr
->
row_number
>=
png_ptr
->
num_rows
||
png_ptr
->
pass
>
6
)
png_ptr
->
pass
>
6
)
{
/* Extra data. */
png_warning
(
png_ptr
,
"Extra compressed data in IDAT"
);
/* Extra data. */
png_warning
(
png_ptr
,
"Extra compressed data in IDAT"
);
png_ptr
->
flags
|=
PNG_FLAG_ZLIB_FINISHED
;
/* Do no more processing; skip the unprocessed
* input check below.
*/
/* Do no more processing; skip the unprocessed
* input check below.
*/
return
;
}
}
/* Do we have a complete row? */
if
(
png_ptr
->
zstream
.
avail_out
==
0
)
png_push_process_row
(
png_ptr
);
/* Do we have a complete row? */
if
(
png_ptr
->
zstream
.
avail_out
==
0
)
png_push_process_row
(
png_ptr
);
}
/* And check for the end of the stream. */
if
(
ret
==
Z_STREAM_END
)
png_ptr
->
flags
|=
PNG_FLAG_ZLIB_FINISHED
;
png_ptr
->
flags
|=
PNG_FLAG_ZLIB_FINISHED
;
}
/* All the data should have been processed, if anything
...
...
pngrutil.c
浏览文件 @
d9d4ceca
...
...
@@ -269,7 +269,7 @@ png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size,
{
PNG_CONST
char
*
msg
;
#ifdef PNG_CONSOLE_IO_SUPPORTED
char
umsg
[
52
];
char
umsg
[
52
];
#endif
if
(
png_ptr
->
zstream
.
msg
!=
0
)
msg
=
png_ptr
->
zstream
.
msg
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录