libavformat/avlanguage.h File Reference

Go to the source code of this file.


enum  AVLangCodespace { AV_LANG_ISO639_2_BIBL, AV_LANG_ISO639_2_TERM, AV_LANG_ISO639_1 }
 Known language codespaces. More...


const char * av_convert_lang_to (const char *lang, enum AVLangCodespace target_codespace)
 Converts a language code to a target codespace.

Enumeration Type Documentation

Known language codespaces.

AV_LANG_ISO639_2_TERM  3-char bibliographic language codes as per ISO-IEC 639-2
AV_LANG_ISO639_1  3-char terminologic language codes as per ISO-IEC 639-2

2-char code of language as per ISO/IEC 639-1

Definition at line 27 of file avlanguage.h.

Function Documentation

const char* av_convert_lang_to ( const char *  lang,
enum AVLangCodespace  target_codespace 

Converts a language code to a target codespace.

The source codespace is guessed. Returns NULL if the provided lang is null or invalid.

Definition at line 735 of file avlanguage.c.

Referenced by asf_read_header(), and av_convert_lang_to().

Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8