libavformat/srtdec.c File Reference

#include "avformat.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Functions

static int srt_probe (AVProbeData *p)
static int srt_read_header (AVFormatContext *s)
static int64_t get_pts (const char *buf, int *duration)
static int is_eol (char c)
static int srt_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_srt_demuxer


Function Documentation

static int64_t get_pts ( const char *  buf,
int duration 
) [static]

Definition at line 54 of file srtdec.c.

static int is_eol ( char  c  )  [inline, static]

Definition at line 77 of file srtdec.c.

static int srt_probe ( AVProbeData p  )  [static]

Definition at line 26 of file srtdec.c.

static int srt_read_header ( AVFormatContext s  )  [static]

Definition at line 43 of file srtdec.c.

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

Definition at line 82 of file srtdec.c.


Variable Documentation

Initial value:

 {
    .name        = "srt",
    .long_name   = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
    .read_probe  = srt_probe,
    .read_header = srt_read_header,
    .read_packet = srt_read_packet,
    .flags       = AVFMT_GENERIC_INDEX,
}

Definition at line 102 of file srtdec.c.


Generated on Fri Oct 26 02:50:07 2012 for FFmpeg by  doxygen 1.5.8