mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Allow compresion-type to be NULL in png_set_iCCP().
This commit is contained in:
parent
7784cd3f6f
commit
916117d970
3
pngget.c
3
pngget.c
@ -749,7 +749,8 @@ png_get_iCCP(png_const_structrp png_ptr, png_inforp info_ptr,
|
|||||||
/* This is somewhat irrelevant since the profile data returned has
|
/* This is somewhat irrelevant since the profile data returned has
|
||||||
* actually been uncompressed.
|
* actually been uncompressed.
|
||||||
*/
|
*/
|
||||||
*compression_type = PNG_COMPRESSION_TYPE_BASE;
|
if (compression_type != NULL)
|
||||||
|
*compression_type = PNG_COMPRESSION_TYPE_BASE;
|
||||||
return (PNG_INFO_iCCP);
|
return (PNG_INFO_iCCP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user