Function rsmpeg::ffi::avformat_get_riff_video_tags[][src]

pub unsafe extern "C" fn avformat_get_riff_video_tags() -> *const AVCodecTag
Expand description

@defgroup riff_fourcc RIFF FourCCs @{ Get the tables mapping RIFF FourCCs to libavcodec AVCodecIDs. The tables are meant to be passed to av_codec_get_id()/av_codec_get_tag() as in the following code: @code uint32_t tag = MKTAG(‘H’, ‘2’, ‘6’, ‘4’); const struct AVCodecTag *table[] = { avformat_get_riff_video_tags(), 0 }; enum AVCodecID id = av_codec_get_id(table, tag); @endcode @return the table mapping RIFF FourCCs for video to libavcodec AVCodecID.