From c8592d2b7a964a25c7187f37c7a404f36750bde9 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Mon, 6 Sep 2021 23:03:53 +1000 Subject: [PATCH] Remove obsolete comments re s/gAMA/hAMA/ PNG chunk The one-byte patch was added in commit 88616cc9 but no longer applied as of commit 54771322. --- test/c/std/png.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/c/std/png.c b/test/c/std/png.c index 269e3160..95d50eb3 100644 --- a/test/c/std/png.c +++ b/test/c/std/png.c @@ -564,10 +564,6 @@ test_mimic_png_decode_bad_crc32_checksum_critical() { const char* // bench_wuffs_png_decode_image_19k_8bpp() { CHECK_FOCUS(__func__); - // libpng automatically applies the "gAMA" chunk (with no matching "sRGB" - // chunk) but Wuffs does not. To make the comparison more like-for-like, - // especially in emitting identical BGRA pixels, patch the source file by - // replacing the "gAMA" with the nonsense "hAMA". ASCII 'g' is 0x67. return do_bench_image_decode( &wuffs_png_decode, WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED, wuffs_base__make_pixel_format(WUFFS_BASE__PIXEL_FORMAT__Y), NULL, 0, @@ -744,10 +740,6 @@ bench_wuffs_png_decode_filt_4_dist_4() { const char* // bench_mimic_png_decode_image_19k_8bpp() { CHECK_FOCUS(__func__); - // libpng automatically applies the "gAMA" chunk (with no matching "sRGB" - // chunk) but Wuffs does not. To make the comparison more like-for-like, - // especially in emitting identical BGRA pixels, patch the source file by - // replacing the "gAMA" with the nonsense "hAMA". ASCII 'g' is 0x67. return do_bench_image_decode( &mimic_png_decode, WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED, wuffs_base__make_pixel_format(WUFFS_BASE__PIXEL_FORMAT__Y), NULL, 0,