babl: always intialize encoding pointer during format construction
authorØyvind Kolås <pippin@gimp.org>
Thu, 30 May 2019 15:50:10 +0000 (17:50 +0200)
committerØyvind Kolås <pippin@gimp.org>
Thu, 30 May 2019 15:57:16 +0000 (17:57 +0200)
commitd1b1ba7ac66455c3de14b685d309620334d47b71
treeaf60c382d6c395ea64fc8f29b0e7aa3d1dffabf6
parentb60b394cb86e91397c2e4d8563a0a4e2e9c550ba
babl: always intialize encoding pointer during format construction

This fixes issue #35, we initialize with NULL which will cause
babl_format_get_encoding to itself call babl_get_name rather.
babl/babl-format.c