#include <stdint.h>
#include "avformat.h"
#include "metadata.h"
Go to the source code of this file.
Defines | |
#define | ID3v2_HEADER_SIZE 10 |
Functions | |
int | ff_id3v2_match (const uint8_t *buf) |
Detects ID3v2 Header. | |
int | ff_id3v2_tag_len (const uint8_t *buf) |
Gets the length of an ID3v2 tag. | |
void | ff_id3v2_parse (AVFormatContext *s, int len, uint8_t version, uint8_t flags) |
ID3v2 parser Handles ID3v2.2, 2.3 and 2.4. | |
void | ff_id3v2_read (AVFormatContext *s) |
Read an ID3v2 tag. | |
Variables | |
const AVMetadataConv | ff_id3v2_metadata_conv [] |
const char | ff_id3v2_tags [][4] |
A list of ID3v2.4 text information frames. |
#define ID3v2_HEADER_SIZE 10 |
Definition at line 29 of file id3v2.h.
Referenced by ff_id3v2_read(), ff_id3v2_tag_len(), flac_read_header(), and mpc_read_header().
int ff_id3v2_match | ( | const uint8_t * | buf | ) |
Detects ID3v2 Header.
must be ID3v2_HEADER_SIZE byte long
Definition at line 26 of file id3v2.c.
Referenced by ff_id3v2_read(), flac_probe(), flac_read_header(), mpc_probe(), mpc_read_header(), and tta_probe().
void ff_id3v2_parse | ( | AVFormatContext * | s, | |
int | len, | |||
uint8_t | version, | |||
uint8_t | flags | |||
) |
ID3v2 parser Handles ID3v2.2, 2.3 and 2.4.
Definition at line 156 of file id3v2.c.
Referenced by ff_id3v2_read().
void ff_id3v2_read | ( | AVFormatContext * | s | ) |
Read an ID3v2 tag.
Definition at line 51 of file id3v2.c.
Referenced by mpc_read_header(), and tta_read_header().
int ff_id3v2_tag_len | ( | const uint8_t * | buf | ) |
Gets the length of an ID3v2 tag.
must be ID3v2_HEADER_SIZE bytes long and point to the start of an already detected ID3v2 tag
Definition at line 39 of file id3v2.c.
Referenced by flac_probe(), flac_read_header(), mpc_probe(), mpc_read_header(), and tta_probe().
const AVMetadataConv ff_id3v2_metadata_conv[] |
const char ff_id3v2_tags[][4] |
A list of ID3v2.4 text information frames.