libavformat/mp3enc.c File Reference
#include <strings.h>
#include "avformat.h"
#include "id3v1.h"
#include "id3v2.h"
#include "rawenc.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Function Documentation
| static int id3v1_create_tag |
( |
AVFormatContext * |
s, |
|
|
uint8_t * |
buf | |
|
) |
| | [static] |
| static int id3v1_set_string |
( |
AVFormatContext * |
s, |
|
|
const char * |
key, |
|
|
uint8_t * |
buf, |
|
|
int |
buf_size | |
|
) |
| | [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).
- Returns:
- number of bytes written or a negative error code.
Definition at line 92 of file mp3enc.c.
| static int string_is_ascii |
( |
const uint8_t * |
str |
) |
[static] |