Logo Search packages:      
Sourcecode: vcdimager version File versions

const msf_t* vcdinfo_get_seg_msf ( const vcdinfo_obj_t *  obj,
segnum_t  seg_num 
)

Return the starting MSF (minutes/secs/frames) for segment entry_num in obj. NULL is returned if there is no entry.

Note first seg_num is 0.

Return the starting MSF (minutes/secs/frames) for segment entry_num in obj. NULL is returned if there is no entry.

Note first seg_num is 0!

Definition at line 1199 of file info.c.

References vcdinfo_get_num_segments(), vcdinfo_get_seg_lsn(), and vcdinfo_get_seg_msf().

Referenced by vcdinfo_get_seg_msf().

{ 
  if (obj == NULL || seg_num >= vcdinfo_get_num_segments(obj))
    return NULL;
  else {
    lsn_t lsn = vcdinfo_get_seg_lsn(obj, seg_num);
    static msf_t msf;
    cdio_lsn_to_msf(lsn, &msf);
    return &msf;
  }
}


Generated by  Doxygen 1.6.0   Back to index