Get the tables mapping RIFF FourCCs to libavcodec CodecIDs. More...

Functions

struct AVCodecTagavformat_get_riff_video_tags (void)
struct AVCodecTagavformat_get_riff_audio_tags (void)

Detailed Description

Get the tables mapping RIFF FourCCs to libavcodec CodecIDs.

The tables are meant to be passed to av_codec_get_id()/av_codec_get_tag() as in the following code:

uint32_t tag = MKTAG('H', '2', '6', '4');
const struct AVCodecTag *table[] = { avformat_get_riff_video_tags(), 0 };
enum CodecID id = av_codec_get_id(table, tag);

Function Documentation

struct AVCodecTag* avformat_get_riff_audio_tags ( void  )
read
Returns
the table mapping RIFF FourCCs for audio to CodecID.

Definition at line 4123 of file utils.c.

struct AVCodecTag* avformat_get_riff_video_tags ( void  )
read
Returns
the table mapping RIFF FourCCs for video to libavcodec CodecID.

Definition at line 4119 of file utils.c.