PJS (Phoenix Japanimation Society) subtitles format demuxer.
More...
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "subtitles.h"
Go to the source code of this file.
PJS (Phoenix Japanimation Society) subtitles format demuxer.
- See also
- http://subs.com.ru/page.php?al=pjs
Definition in file pjsdec.c.
◆ pjs_probe()
◆ read_ts()
| static int64_t read_ts |
( |
char ** | line, |
|
|
int * | duration ) |
|
static |
◆ pjs_read_header()
◆ ff_pjs_demuxer
Initial value:= {
.p.name = "pjs",
.p.extensions = "pjs",
}
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)
static int pjs_read_header(AVFormatContext *s)
static int pjs_probe(const AVProbeData *p)
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 109 of file pjsdec.c.