Logo Search packages:      
Sourcecode: vcdimager version File versions

lba_t vcdinfo_get_entry_lba ( const vcdinfo_obj_t *  obj,
unsigned int  entry_num 
)

Return the starting LBA (logical block address) for sequence entry_num in obj. VCDINFO_NULL_LBA is returned if there is no entry. The first entry number is 0.

Return the starting LBA (logical block address) for sequence entry_num in obj. VCDINFO_NULL_LBA is returned if there is no entry.

Definition at line 699 of file info.c.

References vcdinfo_get_entry_lba(), vcdinfo_get_entry_msf(), and VCDINFO_NULL_LBA.

Referenced by vcdinfo_get_entry_lba().

{
  if ( NULL == obj ) return VCDINFO_NULL_LBA;
  else {
    const msf_t *msf = vcdinfo_get_entry_msf(obj, entry_num);
    msf = vcdinfo_get_entry_msf(obj, entry_num);
    return (msf != NULL) ? cdio_msf_to_lba(msf) : VCDINFO_NULL_LBA;
  }
}


Generated by  Doxygen 1.6.0   Back to index