int ff_ass_add_rect(AVSubtitle *sub, const char *dialog, int readorder, int layer, const char *style, const char *speaker)
Add an ASS dialog to a subtitle.
static int realtext_decode_frame(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt)
const FFCodec ff_realtext_decoder
main external API structure.
static int rt_event_to_ass(AVBPrint *buf, const char *p)