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

Collaboration diagram for RIFF FourCCs:

Functions

const struct AVCodecTagavformat_get_riff_video_tags (void)
 
const struct AVCodecTagavformat_get_riff_audio_tags (void)
 

Detailed Description

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:

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);

Function Documentation

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

Definition at line 4263 of file libavformat/utils.c.

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

Definition at line 4259 of file libavformat/utils.c.

Referenced by dshow_add_device(), and dshow_cycle_formats().