mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-20 19:02:04 +00:00
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:
commit
a98e0a8b6f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue