diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-06-05 23:21:18 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-06-07 10:14:45 +0200 |
commit | 252d6200c36e7eaa79f8d5205b7d731179e94897 (patch) | |
tree | 4afda34da70fd2d66bd6cacce8caf030db8a897f /libavformat/avio.h | |
parent | 9b56ac74b170d12027fbc81f581a451a709f1105 (diff) | |
download | ffmpeg-252d6200c36e7eaa79f8d5205b7d731179e94897.tar.gz |
avio: Add avio_put_str16be
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 3360e8296e..a1497d9d65 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -178,11 +178,23 @@ int avio_put_str(AVIOContext *s, const char *str); /** * Convert an UTF-8 string to UTF-16LE and write it. + * @param s the AVIOContext + * @param str NULL-terminated UTF-8 string + * * @return number of bytes written. */ int avio_put_str16le(AVIOContext *s, const char *str); /** + * Convert an UTF-8 string to UTF-16BE and write it. + * @param s the AVIOContext + * @param str NULL-terminated UTF-8 string + * + * @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. |