#include "libavutil/opt.h"
#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 XING_FLAG_FRAMES 0x01 |
#define XING_FLAG_SIZE 0x02 |
#define XING_FLAG_TOC 0x04 |
#define XING_TOC_COUNT 100 |
#define MP3_PACKET_SIZE 1024 |
Try to find Xing/Info/VBRI tags and compute duration from info therein.
Definition at line 121 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:= {
{ NULL },
}
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 342 of file mp3dec.c.
Initial value:= {
.class_name = "mp3",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ctx)
Return the context name.
const OptionDef options[]
Definition at line 347 of file mp3dec.c.
Initial value:= {
.name = "mp3",
.extensions = "mp2,mp3,m2a,mpa",
}
static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt)
static int mp3_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int mp3_read_header(AVFormatContext *s)
static int mp3_read_probe(AVProbeData *p)
static const AVClass demuxer_class
Definition at line 355 of file mp3dec.c.