libavformat/flvdec.c File Reference

#include "avformat.h"
#include "flv.h"

Go to the source code of this file.

Functions

static int flv_probe (AVProbeData *p)
static void flv_set_audio_codec (AVFormatContext *s, AVStream *astream, int flv_codecid)
static int flv_set_video_codec (AVFormatContext *s, AVStream *vstream, int flv_codecid)
static int amf_get_string (ByteIOContext *ioc, char *buffer, int buffsize)
static int amf_parse_object (AVFormatContext *s, AVStream *astream, AVStream *vstream, const char *key, unsigned int max_pos, int depth)
static int flv_read_metabody (AVFormatContext *s, unsigned int next_pos)
static AVStreamcreate_stream (AVFormatContext *s, int is_audio)
static int flv_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int flv_read_packet (AVFormatContext *s, AVPacket *pkt)
static int flv_read_close (AVFormatContext *s)
static int flv_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

Variables

AVInputFormat flv_demuxer


Function Documentation

static int amf_get_string ( ByteIOContext ioc,
char *  buffer,
int  buffsize 
) [static]

Definition at line 84 of file flvdec.c.

Referenced by amf_parse_object(), and flv_read_metabody().

static int amf_parse_object ( AVFormatContext s,
AVStream astream,
AVStream vstream,
const char *  key,
unsigned int  max_pos,
int  depth 
) [static]

Definition at line 98 of file flvdec.c.

Referenced by flv_read_metabody().

static AVStream* create_stream ( AVFormatContext s,
int  is_audio 
) [static]

Definition at line 229 of file flvdec.c.

Referenced by flv_read_header(), and flv_read_packet().

static int flv_probe ( AVProbeData p  )  [static]

Definition at line 29 of file flvdec.c.

static int flv_read_close ( AVFormatContext s  )  [static]

Definition at line 374 of file flvdec.c.

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

Definition at line 238 of file flvdec.c.

static int flv_read_metabody ( AVFormatContext s,
unsigned int  next_pos 
) [static]

Definition at line 198 of file flvdec.c.

Referenced by flv_read_packet().

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

Definition at line 269 of file flvdec.c.

static int flv_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
) [static]

Definition at line 379 of file flvdec.c.

static void flv_set_audio_codec ( AVFormatContext s,
AVStream astream,
int  flv_codecid 
) [static]

Definition at line 40 of file flvdec.c.

Referenced by amf_parse_object(), and flv_read_packet().

static int flv_set_video_codec ( AVFormatContext s,
AVStream vstream,
int  flv_codecid 
) [static]

Definition at line 61 of file flvdec.c.

Referenced by amf_parse_object(), and flv_read_packet().


Variable Documentation

Initial value:

 {
    "flv",
    "flv format",
    0,
    flv_probe,
    flv_read_header,
    flv_read_packet,
    flv_read_close,
    flv_read_seek,
    .extensions = "flv",
    .value = CODEC_ID_FLV1,
}

Definition at line 390 of file flvdec.c.


Generated on Wed Feb 9 19:10:13 2011 for ffmpeg by  doxygen 1.5.6