shithub: sf2mid

Download patch

ref: 8287f146bceca754823e2e386cd8cb4fd07321c5
parent: 3c1ca14bd6185999127cc861f9f8bd1188eff977
parent: ec8bce7ffec4e9be72f1e2d0913a2d3e6ad07aca
author: qwx <qwx@sciops.net>
date: Fri Oct 4 04:32:40 EDT 2024

fix incomplete merge

--- a/tsf.h
+++ b/tsf.h
@@ -965,7 +965,6 @@
 
 	// Trim the sample buffer down then return success (unless out of memory)
 	if (!(*pFloatBuffer = (float*)TSF_REALLOC(res, resNum * sizeof(float)))) *pFloatBuffer = res;
-	*pFloatBuffer = res;
 	*pSmplCount = resNum;
 	return (res ? 1 : 0);
 }