Logo Search packages:      
Sourcecode: vcdimager version File versions

lba_t vcdinfo_get_seg_lba ( const vcdinfo_obj_t *  obj,
segnum_t  seg_num 
)

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

Note first seg_num is 0.

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

Note first seg_num is 0.

Definition at line 1174 of file info.c.

References vcdinfo_get_seg_lba(), and VCDINFO_NULL_LBA.

Referenced by vcdinfo_get_seg_lba().

{ 
  if (obj == NULL) return VCDINFO_NULL_LBA;
  return cdio_lsn_to_lba(vcdinfo_get_seg_lba(obj, seg_num));
}


Generated by  Doxygen 1.6.0   Back to index