cwebp: fix build

METADATA_ICCP was renamed to METADATA_ICC in
  d8dc72a examples: normalize icc related program arguments
but was merged without rebasing after
  0bc4268 cwebp: output metadata statistics

Change-Id: Ie317208488cc851d5d21300591c91cebf5abd4a7
This commit is contained in:
James Zern 2013-03-15 16:42:58 -07:00
parent 19a8dd0154
commit 7dd288f098

View File

@ -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);