diff options
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 6 |
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. */ |