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.
const AVCodec ff_realtext_decoder
main external API structure.
static int rt_event_to_ass(AVBPrint *buf, const char *p)
static int realtext_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)