[][src]Function ffmpeg_dev::sys::av_get_planar_sample_fmt

pub unsafe extern "C" fn av_get_planar_sample_fmt(
    sample_fmt: AVSampleFormat
) -> AVSampleFormat

Get the planar alternative form of the given sample format.

If the passed sample_fmt is already in planar format, the format returned is the same as the input.

@return the planar alternative form of the given sample format or AV_SAMPLE_FMT_NONE on error.