demux: mp4: use CLOCK_FREQ
demux: mp4: use define for block size
demux: mkv: fix warning & int overflow