From fa0d10390705cd6eba0e2d5c8db28d0bd66bd715 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Sun, 8 Apr 2018 00:07:25 +0200 Subject: [PATCH] Remove unnecessary debug warnings for equal sample loopstart and loopend --- src/sfloader/fluid_sfont.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sfloader/fluid_sfont.c b/src/sfloader/fluid_sfont.c index 73b1efc1..d9c7821b 100644 --- a/src/sfloader/fluid_sfont.c +++ b/src/sfloader/fluid_sfont.c @@ -616,9 +616,10 @@ int fluid_sample_sanitize_loop(fluid_sample_t *sample, unsigned int buffer_size) /* Some SoundFonts disable loops by setting loopstart = loopend. While * technically invalid, we decided to accept those samples anyway. Just * ensure that those two pointers are within the sampledata by setting - * them to 0. Don't set modified here, as this change has no audible + * them to 0. Don't report the modification, as this change has no audible * effect. */ sample->loopstart = sample->loopend = 0; + return FALSE; } else if (sample->loopstart > sample->loopend) {