svn-id: r46497
This commit is contained in:
Fabio Battaglia 2009-12-23 13:34:19 +00:00
parent dfd09bc025
commit aa8a227d14

View File

@ -1401,7 +1401,7 @@ static byte *writeMIDIHeader(byte *ptr, const char *type, int ppqn, int total_si
memcpy(ptr, "MDhd", 4); ptr += 4;
ptr[0] = 0; ptr[1] = 0; ptr[2] = 0; ptr[3] = 8;
ptr += 4;
memset(ptr, 0, 8), ptr += 8;
memset(ptr, 0, 8); ptr += 8;
memcpy(ptr, "MThd", 4); ptr += 4;
ptr[0] = 0; ptr[1] = 0; ptr[2] = 0; ptr[3] = 6;
ptr += 4;