libavformat/ffmetadec.c File Reference

#include "avformat.h"
#include "ffmeta.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int probe (AVProbeData *p)
static void get_line (AVIOContext *s, uint8_t *buf, int size)
static AVChapterread_chapter (AVFormatContext *s)
static uint8_t * unescape (uint8_t *buf, int size)
static int read_tag (uint8_t *line, AVMetadata **m)
static int read_header (AVFormatContext *s, AVFormatParameters *ap)
static int read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_ffmetadata_demuxer


Function Documentation

static void get_line ( AVIOContext s,
uint8_t *  buf,
int  size 
) [static]

Definition at line 33 of file ffmetadec.c.

Referenced by read_chapter(), and read_header().

static int probe ( AVProbeData p  )  [static]

Definition at line 26 of file ffmetadec.c.

static AVChapter* read_chapter ( AVFormatContext s  )  [static]

Definition at line 54 of file ffmetadec.c.

Referenced by read_header().

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

Definition at line 124 of file ffmetadec.c.

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

Definition at line 162 of file ffmetadec.c.

static int read_tag ( uint8_t *  line,
AVMetadata **  m 
) [static]

Definition at line 96 of file ffmetadec.c.

Referenced by read_header().

static uint8_t* unescape ( uint8_t *  buf,
int  size 
) [static]

Definition at line 79 of file ffmetadec.c.

Referenced by read_tag().


Variable Documentation

Initial value:

 {
    .name        = "ffmetadata",
    .long_name   = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text format"),
    .read_probe  = probe,
    .read_header = read_header,
    .read_packet = read_packet,
}

Definition at line 167 of file ffmetadec.c.


Generated on Mon May 2 19:50:26 2011 for FFmpeg by  doxygen 1.5.6