libavformat/assdec.c File Reference

#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  ASSContext

Defines

#define MAX_LINESIZE   2000

Functions

static void get_line (ByteIOContext *s, char *buf, int maxlen)
static int probe (AVProbeData *p)
static int read_close (AVFormatContext *s)
static int64_t get_pts (const uint8_t *p)
static int event_cmp (uint8_t **a, uint8_t **b)
static int read_header (AVFormatContext *s, AVFormatParameters *ap)
static int read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ass_demuxer


Define Documentation

#define MAX_LINESIZE   2000

Definition at line 24 of file assdec.c.

Referenced by read_header().


Function Documentation

static int event_cmp ( uint8_t **  a,
uint8_t **  b 
) [static]

Definition at line 83 of file assdec.c.

Referenced by read_header().

static void get_line ( ByteIOContext s,
char *  buf,
int  maxlen 
) [static]

Definition at line 33 of file assdec.c.

Referenced by read_header().

static int64_t get_pts ( const uint8_t *  p  )  [static]

static int probe ( AVProbeData p  )  [static]

Definition at line 47 of file assdec.c.

static int read_close ( AVFormatContext s  )  [static]

Definition at line 58 of file assdec.c.

Referenced by read_header().

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

Definition at line 88 of file assdec.c.

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


Variable Documentation

Initial value:

 {
    "ass",
    NULL_IF_CONFIG_SMALL("SSA/ASS format"),
    sizeof(ASSContext),
    probe,
    read_header,
    read_packet,
    read_close,

}

Definition at line 178 of file assdec.c.


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