diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-10-22 09:23:14 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-10-22 09:23:14 +0000 |
commit | 3b4b29dcd9c5da2ba40a34ce3d9eb3a7f659ba77 (patch) | |
tree | 947a2f10246251d9acaa3977264570041424deba /libav/avio.h | |
parent | d4c0ff917dac14258d289807a6d80b6b45daa8ff (diff) | |
download | ffmpeg-3b4b29dcd9c5da2ba40a34ce3d9eb3a7f659ba77.tar.gz |
put/get portable for IEEE double - renamed put_native_string/get_native_string
Originally committed as revision 1062 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avio.h')
-rw-r--r-- | libav/avio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libav/avio.h b/libav/avio.h index be4189b8a3..bf00f2edd1 100644 --- a/libav/avio.h +++ b/libav/avio.h @@ -87,8 +87,8 @@ void put_le16(ByteIOContext *s, unsigned int val); void put_be16(ByteIOContext *s, unsigned int val); void put_tag(ByteIOContext *s, char *tag); -void put_native_double(ByteIOContext *s, double val); -void put_native_string(ByteIOContext *s, const char *buf); +void put_be64_double(ByteIOContext *s, double val); +void put_strz(ByteIOContext *s, const char *buf); offset_t url_fseek(ByteIOContext *s, offset_t offset, int whence); void url_fskip(ByteIOContext *s, offset_t offset); @@ -108,8 +108,8 @@ unsigned int get_le32(ByteIOContext *s); UINT64 get_le64(ByteIOContext *s); unsigned int get_le16(ByteIOContext *s); -double get_native_double(ByteIOContext *s); -char *get_native_string(ByteIOContext *s, char *buf, int maxlen); +double get_be64_double(ByteIOContext *s); +char *get_strz(ByteIOContext *s, char *buf, int maxlen); unsigned int get_be16(ByteIOContext *s); unsigned int get_be32(ByteIOContext *s); UINT64 get_be64(ByteIOContext *s); |