+2004-03-05 Saito <saito@intaa.net>
+
+ * timidity/sndfont.c:
+ Fix for Soundfonts with strange loop points.
+
2004-03-05 TAMUKI Shoichi <tamuki@linet.gr.jp>
* interface/w32g_pref.c, interface/w32g_res.{h,rc}:
/* set data length */
vp->v.data_length = vp->len + 1;
- if(vp->v.loop_end > vp->len + 1)
+ if (vp->v.loop_end > vp->len + 1)
vp->v.loop_end = vp->len + 1;
+ if (vp->v.loop_start > vp->len)
+ vp->v.loop_start = vp->len;
/* Sample rate */
if(sp->samplerate > 50000) {sp->samplerate = 50000;}