Bump Wuffs, clean up image loading

This commit is contained in:
Přemysl Eric Janouch 2022-01-08 08:04:13 +01:00
parent 35c1f2c8ba
commit 77de7efc55
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 4 additions and 9 deletions

View File

@ -2377,15 +2377,10 @@ fiv_io_open_from_data(const char *data, size_t len, const gchar *uri,
? open_libjpeg_enhanced(data, len, profile, error)
: open_libjpeg_turbo(data, len, profile, error);
break;
default:
// TODO(p): https://github.com/google/wuffs/commit/4c04ac1
if ((surface = open_libwebp(data, len, uri, profile, error)))
case WUFFS_BASE__FOURCC__WEBP:
surface = open_libwebp(data, len, uri, profile, error);
break;
if (error) {
g_debug("%s", (*error)->message);
g_clear_error(error);
}
default:
#ifdef HAVE_LIBRAW // ---------------------------------------------------------
if ((surface = open_libraw(data, len, error)))
break;

@ -1 +1 @@
Subproject commit a0e2454f0c21369f9775cad3bcaf1e3bb1db70b6
Subproject commit ebbecaa2fb439eff0aeedafadb4c2a984446dee8