libavformat/mp3dec.c File Reference

#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "id3v2.h"
#include "id3v1.h"
#include "libavcodec/mpegaudiodecheader.h"

Go to the source code of this file.

Defines

#define MP3_PACKET_SIZE   1024

Functions

static int mp3_read_probe (AVProbeData *p)
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, AVFormatParameters *ap)
static int mp3_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_mp3_demuxer


Define Documentation

#define MP3_PACKET_SIZE   1024

Definition at line 163 of file mp3dec.c.

Referenced by mp3_read_packet().


Function Documentation

static int mp3_parse_vbr_tags ( AVFormatContext s,
AVStream st,
int64_t  base 
) [static]

Try to find Xing/Info/VBRI tags and compute duration from info therein.

Definition at line 75 of file mp3dec.c.

Referenced by mp3_read_header().

static int mp3_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 133 of file mp3dec.c.

static int mp3_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 165 of file mp3dec.c.

static int mp3_read_probe ( AVProbeData p  )  [static]

Definition at line 32 of file mp3dec.c.


Variable Documentation

Initial value:

 {
    "mp3",
    NULL_IF_CONFIG_SMALL("MPEG audio layer 2/3"),
    0,
    mp3_read_probe,
    mp3_read_header,
    mp3_read_packet,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "mp2,mp3,m2a", 
}

Definition at line 191 of file mp3dec.c.


Generated on Fri Oct 26 02:39:49 2012 for FFmpeg by  doxygen 1.5.8