mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 07:50:49 +00:00
fix return value on sample validation
This commit is contained in:
parent
32961c4031
commit
b1b870049b
1 changed files with 1 additions and 1 deletions
|
@ -1595,7 +1595,7 @@ fluid_sample_import_sfont(fluid_sample_t* sample, SFSample* sfsample, fluid_defs
|
|||
|
||||
if (fluid_sample_validate(sample, defsfont->samplesize) == FLUID_FAILED)
|
||||
{
|
||||
return FLUID_OK;
|
||||
return FLUID_FAILED;
|
||||
}
|
||||
|
||||
if ((sample->sampletype & FLUID_SAMPLETYPE_OGG_VORBIS)
|
||||
|
|
Loading…
Reference in a new issue