summaryrefslogtreecommitdiff
path: root/libavformat/subtitles.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2014-09-02 20:53:08 +0200
committerClément Bœsch <u@pkh.me>2014-09-05 23:13:07 +0200
commit231a514dd3d246b38d0bf2a400a1759902a6f051 (patch)
tree9adf769211047d5a7b84d7a312673e3f9a20ee11 /libavformat/subtitles.h
parentd658ef18e3d1ebe63a64f404ac4646890ecf02c9 (diff)
downloadffmpeg-231a514dd3d246b38d0bf2a400a1759902a6f051.tar.gz
avformat/samidec: UTF-16 support
ff_smil_extract_next_chunk() is still used by RealText.
Diffstat (limited to 'libavformat/subtitles.h')
-rw-r--r--libavformat/subtitles.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/subtitles.h b/libavformat/subtitles.h
index cf8c408486..67ddf4db26 100644
--- a/libavformat/subtitles.h
+++ b/libavformat/subtitles.h
@@ -147,6 +147,11 @@ void ff_subtitles_queue_clean(FFDemuxSubtitlesQueue *q);
int ff_smil_extract_next_chunk(AVIOContext *pb, AVBPrint *buf, char *c);
/**
+ * As ff_smil_extract_next_chunk(), but with FFTextReader.
+ */
+int ff_smil_extract_next_text_chunk(FFTextReader *tr, AVBPrint *buf, char *c);
+
+/**
* SMIL helper to point on the value of an attribute in the given tag.
*
* @param s SMIL tag ("<...>")