Function rsmpeg::ffi::av_codec_get_tag[][src]

pub unsafe extern "C" fn av_codec_get_tag(
    tags: *const *const AVCodecTag,
    id: u32
) -> u32
Expand description

Get the codec tag for the given codec id id. If no codec tag is found returns 0.

@param tags list of supported codec_id-codec_tag pairs, as stored in AVInputFormat.codec_tag and AVOutputFormat.codec_tag @param id codec ID to match to a codec tag