mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-04 21:25:40 +01:00
avcodec/ass: Faster ff_ass_add_rect()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -118,6 +118,13 @@ 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.
|
||||
*/
|
||||
int ff_ass_add_rect2(AVSubtitle *sub, const char *dialog,
|
||||
int readorder, int layer, const char *style,
|
||||
const char *speaker, unsigned *nb_rect_allocated);
|
||||
|
||||
/**
|
||||
* Helper to flush a text subtitles decoder making use of the
|
||||
* FFASSDecoderContext.
|
||||
|
||||
Reference in New Issue
Block a user