From 167048f5a355830e7e77f171ccfb44026ac805f1 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Wed, 4 Apr 2018 11:03:47 +0200 Subject: [PATCH] Remove reference to defsfont from low-level function --- src/sfloader/fluid_sf2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfloader/fluid_sf2.c b/src/sfloader/fluid_sf2.c index 82bc2f42..87ccf640 100644 --- a/src/sfloader/fluid_sf2.c +++ b/src/sfloader/fluid_sf2.c @@ -1350,7 +1350,7 @@ fixup_sample (SFData * sf) int invalid_loopstart; int invalid_loopend, loopend_end_mismatch; unsigned int total_bytes = sf->samplesize; - unsigned int total_samples = total_bytes / FLUID_MEMBER_SIZE(fluid_defsfont_t, sampledata[0]); + unsigned int total_samples = total_bytes / sizeof(short); p = sf->sample; while (p)