[][src]Function ffmpeg_sys_next::avcodec_profile_name

pub unsafe extern "C" fn avcodec_profile_name(
    codec_id: AVCodecID,
    profile: c_int
) -> *const c_char

Return a name for the specified profile, if available.

@param codec_id the ID of the codec to which the requested profile belongs @param profile the profile value for which a name is requested @return A name for the profile if found, NULL otherwise.

@note unlike av_get_profile_name(), which searches a list of profiles supported by a specific decoder or encoder implementation, this function searches the list of profiles from the AVCodecDescriptor