Merge pull request #277 from loki666/vorbis_sample_check

return FLUID_FAIL when sampletype is OGG but not compiled with libsndfile
This commit is contained in:
Tom M 2017-11-13 15:50:29 +01:00 committed by GitHub
commit a98e0a8b6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}