Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git] / ffmpeg / libavcodec / ass.h
index 2df38e6efa89bf0c22cfb8891a987c1e5b10c14c..77218bf76b942456cf7413aa9565bd2a1444d222 100644 (file)
@@ -91,6 +91,13 @@ int ff_ass_subtitle_header_default(AVCodecContext *avctx);
 int ff_ass_add_rect(AVSubtitle *sub, const char *dialog,
                     int ts_start, int duration, int raw);
 
+/**
+ * Same as ff_ass_add_rect_bprint, but taking an AVBPrint buffer instead of a
+ * string, and assuming raw=0.
+ */
+int ff_ass_add_rect_bprint(AVSubtitle *sub, AVBPrint *buf,
+                           int ts_start, int duration);
+
 /**
  * Add an ASS dialog line to an AVBPrint buffer.
  *