mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 14:18:21 +01:00
cwebp: fix build
METADATA_ICCP was renamed to METADATA_ICC ind8dc72a
examples: normalize icc related program arguments but was merged without rebasing after0bc4268
cwebp: output metadata statistics Change-Id: Ie317208488cc851d5d21300591c91cebf5abd4a7
This commit is contained in:
parent
19a8dd0154
commit
7dd288f098
@ -379,7 +379,7 @@ static void PrintMetadataInfo(const Metadata* const metadata,
|
||||
if (metadata == NULL || metadata_written == 0) return;
|
||||
|
||||
fprintf(stderr, "Metadata:\n");
|
||||
if (metadata_written & METADATA_ICCP) {
|
||||
if (metadata_written & METADATA_ICC) {
|
||||
fprintf(stderr, " * ICC profile: %6zu bytes\n", metadata->iccp.size);
|
||||
}
|
||||
if (metadata_written & METADATA_EXIF) {
|
||||
@ -504,7 +504,7 @@ static int WriteWebPWithMetadata(FILE* const out,
|
||||
}
|
||||
if (write_iccp) {
|
||||
ok = ok && WriteMetadataChunk(out, "ICCP", &metadata->iccp);
|
||||
*metadata_written |= METADATA_ICCP;
|
||||
*metadata_written |= METADATA_ICC;
|
||||
}
|
||||
// Image
|
||||
ok = ok && (fwrite(webp, webp_size, 1, out) == 1);
|
||||
|
Loading…
Reference in New Issue
Block a user