summaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2015-03-02 20:06:13 -0800
committerMichael Niedermayer <michaelni@gmx.at>2015-03-03 17:49:15 +0100
commit81a91269a2fbeb87de53e395c6bed0c70c310cae (patch)
tree03d0a9e3b5e3296018a4dbb07e00cfb9ee3f409f /libavformat/avio.h
parent6394acaf36da3106f4793bda32730f8ff6b0ddb1 (diff)
downloadffmpeg-streaming-81a91269a2fbeb87de53e395c6bed0c70c310cae.zip
ffmpeg-streaming-81a91269a2fbeb87de53e395c6bed0c70c310cae.tar.gz
libavformat/avio: added avio_put_str16be
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index b9b4017..8fc7e27 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -234,6 +234,12 @@ int avio_put_str(AVIOContext *s, const char *str);
int avio_put_str16le(AVIOContext *s, const char *str);
/**
+ * Convert an UTF-8 string to UTF-16BE and write it.
+ * @return number of bytes written.
+ */
+int avio_put_str16be(AVIOContext *s, const char *str);
+
+/**
* Passing this as the "whence" parameter to a seek function causes it to
* return the filesize without seeking anywhere. Supporting this is optional.
* If it is not supported then the seek function will return <0.
OpenPOWER on IntegriCloud