SubViewer subtitle demuxer.
More...
Go to the source code of this file.
SubViewer subtitle demuxer.
- See also
- https://en.wikipedia.org/wiki/SubViewer
Definition in file subviewerdec.c.
◆ subviewer_probe()
◆ get_multiplier()
| static int get_multiplier |
( |
int | e | ) |
|
|
static |
◆ read_ts()
| static int read_ts |
( |
const char * | s, |
|
|
int64_t * | start, |
|
|
int * | duration ) |
|
static |
◆ subviewer_read_header()
◆ ff_subviewer_demuxer
Initial value:= {
.p.name = "subviewer",
.p.extensions = "sub",
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
#define FF_INFMT_FLAG_INIT_CLEANUP
For an FFInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
static int read_header(FFV1Context *f, RangeCoder *c)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int read_close(AVFormatContext *ctx)
int ff_subtitles_read_packet(AVFormatContext *s, AVPacket *pkt)
int ff_subtitles_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
int ff_subtitles_read_close(AVFormatContext *s)
Definition at line 189 of file subviewerdec.c.