libavformat/flvdec.c File Reference

#include "libavcodec/mpeg4audio.h"
#include "avformat.h"
#include "flv.h"

Go to the source code of this file.

Data Structures

struct  FLVContext

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, int64_t max_pos, int depth)
static int flv_read_metabody (AVFormatContext *s, int64_t next_pos)
static AVStreamcreate_stream (AVFormatContext *s, int is_audio)
static int flv_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int flv_get_extradata (AVFormatContext *s, AVStream *st, int size)
static int flv_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat flv_demuxer


Function Documentation

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

Definition at line 104 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,
int64_t  max_pos,
int  depth 
) [static]

Definition at line 118 of file flvdec.c.

Referenced by flv_read_metabody().

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

Definition at line 253 of file flvdec.c.

Referenced by flv_read_header(), and flv_read_packet().

static int flv_get_extradata ( AVFormatContext s,
AVStream st,
int  size 
) [static]

Definition at line 297 of file flvdec.c.

Referenced by flv_read_packet().

static int flv_probe ( AVProbeData p  )  [static]

Definition at line 35 of file flvdec.c.

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

Definition at line 262 of file flvdec.c.

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

Definition at line 222 of file flvdec.c.

Referenced by flv_read_packet().

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

Definition at line 308 of file flvdec.c.

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

Definition at line 46 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 78 of file flvdec.c.

Referenced by amf_parse_object(), and flv_read_packet().


Variable Documentation

Initial value:

 {
    "flv",
    NULL_IF_CONFIG_SMALL("FLV format"),
    sizeof(FLVContext),
    flv_probe,
    flv_read_header,
    flv_read_packet,
    .extensions = "flv",
    .value = CODEC_ID_FLV1,
}

Definition at line 460 of file flvdec.c.


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8