diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-06-04 19:16:00 +0200 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-06-04 19:19:16 +0200 | 
| commit | ac6b606ccc85c2fca02b6199ba138fd85f04489c (patch) | |
| tree | 00f645d47b5c170998f78a2c42ee79975e05f94d /fiv-thumbnail.c | |
| parent | 8bba456b1470b0e7f2c8291e50bff37c001d8f44 (diff) | |
| download | fiv-ac6b606ccc85c2fca02b6199ba138fd85f04489c.tar.gz fiv-ac6b606ccc85c2fca02b6199ba138fd85f04489c.tar.xz fiv-ac6b606ccc85c2fca02b6199ba138fd85f04489c.zip  | |
Bump Wuffs, support partial PNGs through it
Diffstat (limited to 'fiv-thumbnail.c')
| -rw-r--r-- | fiv-thumbnail.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/fiv-thumbnail.c b/fiv-thumbnail.c index 2dfd15f..44f2735 100644 --- a/fiv-thumbnail.c +++ b/fiv-thumbnail.c @@ -425,8 +425,10 @@ read_wide_thumbnail(  	bool sRGB = false;  	GBytes *thum = cairo_surface_get_user_data(surface, &fiv_io_key_thum);  	if (!thum) { +		g_clear_error(error);  		set_error(error, "not a thumbnail");  	} else if (!check_wide_thumbnail_texts(thum, uri, mtime, &sRGB)) { +		g_clear_error(error);  		set_error(error, "mismatch");  	} else {  		// TODO(p): Add a function or a non-valueless define to check  | 
