Function rsmpeg::ffi::av_codec_get_id [−][src]
pub unsafe extern "C" fn av_codec_get_id(
tags: *const *const AVCodecTag,
tag: u32
) -> u32
Expand description
Get the AVCodecID for the given codec tag tag. If no codec id is found returns AV_CODEC_ID_NONE.
@param tags list of supported codec_id-codec_tag pairs, as stored in AVInputFormat.codec_tag and AVOutputFormat.codec_tag @param tag codec tag to match to a codec ID