Bugfix: don't bail out early if single sample has invalid start or end

This commit is contained in:
Marcus Weseloh 2018-03-18 14:48:32 +01:00
parent 6c2b8e2d88
commit b1f7e6d9a0

View file

@ -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