summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-01-21 19:18:08 +0000
committerMans Rullgard <mans@mansr.com>2011-01-21 20:21:51 +0000
commitdccbd97d72991f4df63542e1ee03db2f8d7a0238 (patch)
tree7a0942fd63c0f8787535de6b3887e2a36392b770 /libavformat/avio.h
parent4efd5cf34b7a04f87805aa0f09913d1d122d300c (diff)
lavf: move ff_put_str16_nolen from asf to avio and rename it
It will be useful in the mp3 muxer. Signed-off-by: Mans Rullgard <mans@mansr.com>
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 9f71c1921e..b35d4c716c 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -378,6 +378,12 @@ attribute_deprecated void put_strz(ByteIOContext *s, const char *buf);
int avio_put_str(ByteIOContext *s, const char *str);
/**
+ * Convert an UTF-8 string to UTF-16LE and write it.
+ * @return number of bytes written.
+ */
+int avio_put_str16le(ByteIOContext *s, const char *str);
+
+/**
* fseek() equivalent for ByteIOContext.
* @return new position or AVERROR.
*/