int mov_write_mdhd_tag(ByteIOContext *pb, MOVTrack* track)
static int mov_write_mdhd_tag(ByteIOContext *pb, MOVTrack* track)
int mov_write_mdhd_tag(ByteIOContext *pb, MOVTrack* track){    put_be32(pb, 32); /* size */    put_tag(pb, "mdhd");    put_be32(pb, 0); /* Version & flags */    put_be32(pb, track->time); /* creation time */    put_be32(pb, track->time); /* modification time */    put_be32(pb, track->timescale); /* time scale */    put_be32(pb, track->timescale*track->entry*track->frameDuration/globalTimescale); /* duration */    put_be16(pb, 0); /* language, 0 = english */    put_be16(pb, 0); /* reserved (quality) */    return 32;}