Remove unnecessary build hack. From Brad.

This commit is contained in:
sthen
2026-01-26 18:28:45 +00:00
parent 5d0fce2447
commit c3a354c4f7
2 changed files with 1 additions and 19 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ COMMENT= Google WebP image format conversion tool
GH_ACCOUNT= webmproject
GH_PROJECT= libwebp
GH_TAGNAME= v1.6.0
REVISION= 1
REVISION= 2
CATEGORIES= graphics
SHARED_LIBS += sharpyuv 0.1 # 0.0
@@ -1,18 +0,0 @@
cwebp.c:186:47: error: no member named 'cross_color_transform_bits' in 'struct WebPAuxStats'
Index: examples/cwebp.c
--- examples/cwebp.c.orig
+++ examples/cwebp.c
@@ -184,9 +184,9 @@ static void PrintFullLosslessInfo(const WebPAuxStats*
if (stats->lossless_features & 1) {
fprintf(stderr, " prediction=%d", stats->transform_bits);
}
- if (stats->lossless_features & 2) {
- fprintf(stderr, " cross-color=%d", stats->cross_color_transform_bits);
- }
+ //if (stats->lossless_features & 2) {
+ // fprintf(stderr, " cross-color=%d", stats->cross_color_transform_bits);
+ //}
fprintf(stderr, " cache=%d\n", stats->cache_bits);
if (stats->palette_size > 0) {
fprintf(stderr, " * Palette size: %d\n", stats->palette_size);