From 1eea90f1d0178db3c28e3e028886eeab09c3b4cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Wed, 26 Jan 2022 15:03:01 +0100 Subject: [PATCH] babl: initialize bpp after reading cost in fish cache --- babl/babl-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babl/babl-cache.c b/babl/babl-cache.c index 63ae19e..b48249a 100644 --- a/babl/babl-cache.c +++ b/babl/babl-cache.c @@ -334,7 +334,6 @@ babl_init_db (void) babl->fish.source = from_format; babl->fish.destination = to_format; babl->fish_path.conversion_list = babl_list_init_with_size (10); - _babl_fish_prepare_bpp (babl); _babl_fish_rig_dispatch (babl); } @@ -356,6 +355,7 @@ babl_init_db (void) } token2 = strtok_r (NULL, seps2, &tokp2); } + _babl_fish_prepare_bpp (babl); } else if (to_format && babl && babl->class_type == BABL_FISH_PATH) { -- 2.30.2