libmid: calculate time correctly
Merge branch 'master' of github.com:prozum/midiogre

Conflicts:
	src/lib/mid/mid.c