return FLUID_FAIL when sampletype is OGG but not compiled with LIBSNDFILE_SUPPORT

This commit is contained in:
loki666 2017-11-13 15:21:30 +01:00
parent 8724aa4ab4
commit 3908917aab

View file

@ -1976,6 +1976,8 @@ fluid_sample_import_sfont(fluid_sample_t* sample, SFSample* sfsample, fluid_defs
{
FLUID_LOG (FLUID_WARN, _("Vorbis sample '%s' has invalid loop points"), sample->name);
}
#else
return FLUID_FAILED;
#endif
}