FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
oggparsevorbis.c File Reference
#include <stdlib.h>
#include "libavutil/avstring.h"
#include "libavutil/base64.h"
#include "libavutil/bswap.h"
#include "libavutil/dict.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/get_bits.h"
#include "libavcodec/vorbis_parser.h"
#include "avformat.h"
#include "flac_picture.h"
#include "internal.h"
#include "oggdec.h"
#include "vorbiscomment.h"
#include "replaygain.h"

Go to the source code of this file.

Data Structures

struct  oggvorbis_private
 

Functions

static int ogm_chapter (AVFormatContext *as, uint8_t *key, uint8_t *val)
 
int ff_vorbis_stream_comment (AVFormatContext *as, AVStream *st, const uint8_t *buf, int size)
 
int ff_vorbis_comment (AVFormatContext *as, AVDictionary **m, const uint8_t *buf, int size, int parse_picture)
 
static int fixup_vorbis_headers (AVFormatContext *as, struct oggvorbis_private *priv, uint8_t **buf)
 
static void vorbis_cleanup (AVFormatContext *s, int idx)
 
static int vorbis_update_metadata (AVFormatContext *s, int idx)
 
static int vorbis_header (AVFormatContext *s, int idx)
 
static int vorbis_packet (AVFormatContext *s, int idx)
 

Variables

struct ogg_codec ff_vorbis_codec
 

Function Documentation

static int ogm_chapter ( AVFormatContext as,
uint8_t key,
uint8_t val 
)
static

Definition at line 41 of file oggparsevorbis.c.

Referenced by ff_vorbis_comment().

int ff_vorbis_stream_comment ( AVFormatContext as,
AVStream st,
const uint8_t buf,
int  size 
)
int ff_vorbis_comment ( AVFormatContext as,
AVDictionary **  m,
const uint8_t buf,
int  size,
int  parse_picture 
)
static int fixup_vorbis_headers ( AVFormatContext as,
struct oggvorbis_private priv,
uint8_t **  buf 
)
static

Definition at line 221 of file oggparsevorbis.c.

Referenced by vorbis_header().

static void vorbis_cleanup ( AVFormatContext s,
int  idx 
)
static

Definition at line 250 of file oggparsevorbis.c.

static int vorbis_update_metadata ( AVFormatContext s,
int  idx 
)
static

Definition at line 263 of file oggparsevorbis.c.

Referenced by vorbis_header(), and vorbis_packet().

static int vorbis_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 293 of file oggparsevorbis.c.

static int vorbis_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 402 of file oggparsevorbis.c.

Variable Documentation

struct ogg_codec ff_vorbis_codec
Initial value:
= {
.magic = "\001vorbis",
.magicsize = 7,
.header = vorbis_header,
.packet = vorbis_packet,
.cleanup = vorbis_cleanup,
.nb_header = 3,
}

Definition at line 491 of file oggparsevorbis.c.