libavformat/avlanguage.c File Reference

#include "avlanguage.h"
#include "libavutil/avstring.h"
#include <stdlib.h>
#include <stdint.h>
#include <string.h>

Go to the source code of this file.

Data Structures

struct  LangEntry

Functions

static int lang_table_compare (const void *lhs, const void *rhs)
const char * av_convert_lang_to (const char *lang, enum AVLangCodespace target_codespace)
 Converts a language code to a target codespace.

Variables

static const uint16_t lang_table_counts [] = { 484, 20, 184 }
static const uint16_t lang_table_offsets [] = { 0, 484, 504 }
static const LangEntry lang_table []


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().

static int lang_table_compare ( const void *  lhs,
const void *  rhs 
) [static]

Definition at line 730 of file avlanguage.c.

Referenced by av_convert_lang_to().


Variable Documentation

const LangEntry lang_table[] [static]

Definition at line 35 of file avlanguage.c.

const uint16_t lang_table_counts[] = { 484, 20, 184 } [static]

Definition at line 32 of file avlanguage.c.

Referenced by av_convert_lang_to().

const uint16_t lang_table_offsets[] = { 0, 484, 504 } [static]

Definition at line 33 of file avlanguage.c.

Referenced by av_convert_lang_to().


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