mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-30 16:01:51 +00:00
Bugfix: don't bail out early if single sample has invalid start or end
This commit is contained in:
parent
6c2b8e2d88
commit
b1f7e6d9a0
1 changed files with 4 additions and 2 deletions
|
@ -3389,9 +3389,11 @@ fixup_sample (SFData * sf)
|
|||
/* disable sample by setting all sample markers to 0 */
|
||||
sam->start = sam->end = sam->loopstart = sam->loopend = 0;
|
||||
|
||||
return (OK);
|
||||
p = fluid_list_next (p);
|
||||
continue;
|
||||
}
|
||||
else if (sam->sampletype & FLUID_SAMPLETYPE_OGG_VORBIS)
|
||||
|
||||
if (sam->sampletype & FLUID_SAMPLETYPE_OGG_VORBIS)
|
||||
{
|
||||
/*
|
||||
* compressed samples get fixed up after decompression
|
||||
|
|
Loading…
Reference in a new issue