#include <stdint.h>#include "libavutil/dict.h"#include "libavutil/intreadwrite.h"#include "avformat.h"#include "avio.h"#include "id3v2.h"Go to the source code of this file.
Functions | |
| static void | id3v2_put_size (AVFormatContext *s, int size) |
| static int | string_is_ascii (const uint8_t *str) |
| static int | id3v2_put_ttag (AVFormatContext *s, const char *str1, const char *str2, uint32_t tag, enum ID3v2Encoding enc) |
| Write a text frame with one (normal frames) or two (TXXX frames) strings according to encoding (only UTF-8 or UTF-16+BOM supported). | |
| static int | id3v2_check_write_tag (AVFormatContext *s, AVDictionaryEntry *t, const char table[][4], enum ID3v2Encoding enc) |
| int | ff_id3v2_write (struct AVFormatContext *s, int id3v2_version, const char *magic) |
| Write an ID3v2 tag. | |
| int ff_id3v2_write | ( | struct AVFormatContext * | s, |
| int | id3v2_version, | ||
| const char * | magic | ||
| ) |
Write an ID3v2 tag.
| id3v2_version | Subversion of ID3v2; supported values are 3 and 4 |
| magic | magic bytes to identify the header If in doubt, use ID3v2_DEFAULT_MAGIC. |
Definition at line 100 of file id3v2enc.c.
Referenced by oma_write_header().
|
static |
Definition at line 85 of file id3v2enc.c.
Referenced by ff_id3v2_write().
|
static |
Definition at line 29 of file id3v2enc.c.
Referenced by ff_id3v2_write(), and id3v2_put_ttag().
|
static |
Write a text frame with one (normal frames) or two (TXXX frames) strings according to encoding (only UTF-8 or UTF-16+BOM supported).
Definition at line 48 of file id3v2enc.c.
Referenced by ff_id3v2_write(), and id3v2_check_write_tag().
|
static |
Definition at line 37 of file id3v2enc.c.
Referenced by id3v2_put_ttag().