[][src]Function flac_sys::FLAC__metadata_object_seektable_template_sort

pub unsafe extern "C" fn FLAC__metadata_object_seektable_template_sort(
    object: *mut FLAC__StreamMetadata,
    compact: FLAC__bool
) -> FLAC__bool

Sort a seek table's seek points according to the format specification, removing duplicates.

\param object A pointer to a seek table to be sorted. \param compact If \c false, behaves like FLAC__format_seektable_sort(). If \c true, duplicates are deleted and the seek table is shrunk appropriately; the number of placeholder points present in the seek table will be the same after the call as before. \assert \code object != NULL \endcode \code object->type == FLAC__METADATA_TYPE_SEEKTABLE \endcode \retval FLAC__bool \c false if realloc() fails, else \c true.