Skip to content

Commit

Permalink
Fix sound font output crashing on Android (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
schellingb committed Jul 23, 2024
1 parent e9ffd5c commit 87691af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/tsf.h
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,6 @@ static int tsf_decode_sf3_samples(const void* rawBuffer, float** pFloatBuffer, u

// 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);
}
Expand Down

0 comments on commit 87691af

Please sign in to comment.