From: Øyvind Kolås Date: Wed, 26 Jan 2022 14:03:01 +0000 (+0100) Subject: babl: initialize bpp after reading cost in fish cache X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~4^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1eea90f1d0178db3c28e3e028886eeab09c3b4cf;p=babl.git babl: initialize bpp after reading cost in fish cache --- 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) {