See the discussion in https://github.com/AOMediaCodec/libavif/issues/254 where this was implemented. This allows us to avoid using ERROR_ON_UNDEFINED_SYMBOLS and build a truly separate encoder/decoder libs.
This reverts commit d89e846896.
d89e846896