Logo Search packages:      
Sourcecode: vcdimager version File versions

unsigned int vcdinfo_track_get_entry ( const vcdinfo_obj_t *  obj,
track_t  i_track 
)

Return the entry number for the given track.

Return the entry number for the given track.

Definition at line 1666 of file info.c.

References vcdinfo_get_track_lsn(), vcdinfo_lsn_get_entry(), and vcdinfo_track_get_entry().

Referenced by vcdinfo_get_multi_default_offset(), and vcdinfo_track_get_entry().

{
  /* FIXME: Add structure to directly map track to first entry number. 
     Until then...
   */
  lsn_t lsn= vcdinfo_get_track_lsn(obj, i_track);
  return vcdinfo_lsn_get_entry(obj, lsn);
}


Generated by  Doxygen 1.6.0   Back to index