printf("time scale = %i\n", c->time_scale);
av_log(NULL, AV_LOG_DEBUG, "time scale = %i\n", c->time_scale);
static int mov_read_mvhd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom){    print_atom("mvhd", atom);    get_byte(pb); /* version */    get_byte(pb); get_byte(pb); get_byte(pb); /* flags */    get_be32(pb); /* creation time */    get_be32(pb); /* modification time */    c->time_scale = get_be32(pb); /* time scale */#ifdef DEBUG    printf("time scale = %i\n", c->time_scale);#endif    c->duration = get_be32(pb); /* duration */    get_be32(pb); /* preferred scale */    get_be16(pb); /* preferred volume */    url_fskip(pb, 10); /* reserved */    url_fskip(pb, 36); /* display matrix */    get_be32(pb); /* preview time */    get_be32(pb); /* preview duration */    get_be32(pb); /* poster time */    get_be32(pb); /* selection time */    get_be32(pb); /* selection duration */    get_be32(pb); /* current time */    get_be32(pb); /* next track ID */    return 0;}