[][src]Function flac_sys::FLAC__format_picture_is_legal

pub unsafe extern "C" fn FLAC__format_picture_is_legal(
    picture: *const FLAC__StreamMetadata_Picture,
    violation: *mut *const c_char
) -> FLAC__bool

Check picture data to see if it conforms to the FLAC specification. See the format specification for limits on the contents of the PICTURE block.

\param picture A pointer to existing picture data to be checked. \param violation Address of a pointer to a string. If there is a violation, a pointer to a string explanation of the violation will be returned here. \a violation may be \c NULL if you don't need the returned string. Do not free the returned string; it will always point to static data. \assert \code picture != NULL \endcode \retval FLAC__bool \c false if picture data is illegal, else \c true.