From 97a4e1aa1c6b8e97f82d65585fbbf666461c22c0 Mon Sep 17 00:00:00 2001 From: derselbst Date: Sat, 9 Dec 2017 20:03:37 +0100 Subject: [PATCH] fix a bug when reading 24 bit soundfonts --- src/sfloader/fluid_defsfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfloader/fluid_defsfont.c b/src/sfloader/fluid_defsfont.c index e76c1217..99bc19da 100644 --- a/src/sfloader/fluid_defsfont.c +++ b/src/sfloader/fluid_defsfont.c @@ -2432,7 +2432,7 @@ process_sdta (unsigned int size, SFData * sf, void * fd, const fluid_file_callba sdtachunk_size = chunk.size; sf->samplesize = chunk.size; - FSKIP (chunk.size, fd, fcbs); + FSKIP (size, fd, fcbs); return (OK); }