Libav 0.7.1
|
Go to the source code of this file.
Functions | |
static int | srt_probe (AVProbeData *p) |
static int | srt_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int64_t | get_pts (const char *buf) |
static int | is_eol (char c) |
static int | srt_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
AVInputFormat | ff_srt_demuxer |
static int64_t get_pts | ( | const char * | buf | ) | [static] |
Definition at line 54 of file srtdec.c.
Referenced by srt_read_packet().
static int is_eol | ( | char | c | ) | [inline, static] |
Definition at line 70 of file srtdec.c.
Referenced by srt_read_packet().
static int srt_probe | ( | AVProbeData * | p | ) | [static] |
static int srt_read_header | ( | AVFormatContext * | s, |
AVFormatParameters * | ap | ||
) | [static] |
static int srt_read_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) | [static] |
{ .name = "srt", .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle format"), .read_probe = srt_probe, .read_header = srt_read_header, .read_packet = srt_read_packet, .flags = AVFMT_GENERIC_INDEX, }