libavformat/mp3dec.c File Reference
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "internal.h"
#include "id3v2.h"
#include "id3v1.h"
#include "libavcodec/mpegaudiodecheader.h"
Go to the source code of this file.
Define Documentation
#define MP3_PACKET_SIZE 1024 |
#define XING_FLAG_FRAMES 0x01 |
#define XING_FLAG_SIZE 0x02 |
#define XING_FLAG_TOC 0x04 |
#define XING_TOC_COUNT 100 |
Function Documentation
Try to find Xing/Info/VBRI tags and compute duration from info therein.
Definition at line 114 of file mp3dec.c.
Referenced by mp3_read_header().
static void read_xing_toc |
( |
AVFormatContext * |
s, |
|
|
int64_t |
filesize, |
|
|
int64_t |
duration | |
|
) |
| | [static] |
Variable Documentation
Initial value:
{
.name = "mp3",
.long_name = NULL_IF_CONFIG_SMALL("MP2/3 (MPEG audio layer 2/3)"),
.priv_data_size = sizeof(MP3Context),
.read_probe = mp3_read_probe,
.read_header = mp3_read_header,
.read_packet = mp3_read_packet,
.read_seek = mp3_seek,
.flags = AVFMT_GENERIC_INDEX,
.extensions = "mp2,mp3,m2a",
}
Definition at line 294 of file mp3dec.c.