Go to the source code of this file.
|
static int | mp3_read_probe (AVProbeData *p) |
|
static void | read_xing_toc (AVFormatContext *s, int64_t filesize, int64_t duration) |
|
static void | mp3_parse_info_tag (AVFormatContext *s, AVStream *st, MPADecodeHeader *c, uint32_t spf) |
|
static void | mp3_parse_vbri_tag (AVFormatContext *s, AVStream *st, int64_t base) |
|
static int | mp3_parse_vbr_tags (AVFormatContext *s, AVStream *st, int64_t base) |
| Try to find Xing/Info/VBRI tags and compute duration from info therein.
|
|
static int | mp3_read_header (AVFormatContext *s) |
|
static int | mp3_read_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int | check (AVFormatContext *s, int64_t pos) |
|
static int | mp3_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
|
#define XING_FLAG_FRAMES 0x01 |
#define XING_FLAG_SIZE 0x02 |
#define XING_FLAG_TOC 0x04 |
#define XING_FLAC_QSCALE 0x08 |
#define XING_TOC_COUNT 100 |
#define LAST_BITS |
( |
|
k, |
|
|
|
n |
|
) |
| ((k) & ((1 << (n)) - 1)) |
#define MP3_PACKET_SIZE 1024 |
Try to find Xing/Info/VBRI tags and compute duration from info therein.
Definition at line 288 of file mp3dec.c.
Referenced by mp3_read_header().
static int mp3_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
timestamp, |
|
|
int |
flags |
|
) |
| |
|
static |
Initial value:
Definition at line 495 of file mp3dec.c.
Initial value:= {
.class_name = "mp3",
}
Definition at line 500 of file mp3dec.c.
Initial value:= {
.name = "mp3",
.extensions = "mp2,mp3,m2a,mpa",
}
Definition at line 508 of file mp3dec.c.