FFmpeg
|
avlanguage.c File Reference
#include "avlanguage.h"
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
Include dependency graph for avlanguage.c:
Go to the source code of this file.
Data Structures | |
struct | LangEntry |
Typedefs | |
typedef struct LangEntry | 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) |
Convert a language code to a target codespace. More... | |
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 [] |
Typedef Documentation
Function Documentation
const char* av_convert_lang_to | ( | const char * | lang, |
enum AVLangCodespace | target_codespace | ||
) |
Convert 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 736 of file avlanguage.c.
Referenced by asf_read_header(), av_convert_lang_to(), and mkv_write_simpletag().
Definition at line 731 of file avlanguage.c.
Referenced by av_convert_lang_to().
Variable Documentation
|
static |
Definition at line 36 of file avlanguage.c.
|
static |
Definition at line 33 of file avlanguage.c.
Referenced by av_convert_lang_to().
|
static |
Definition at line 34 of file avlanguage.c.
Referenced by av_convert_lang_to().
Generated on Fri Dec 20 2024 06:56:11 for FFmpeg by 1.8.11