diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-07-19 14:50:22 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-07-19 14:50:22 +0000 |
commit | 7cb8f314db095715698329fafae5eadeb5504610 (patch) | |
tree | 25901c70ba2e574205d22a54eab5a39ec290147d /libavformat/aviobuf.c | |
parent | a254c5745b27eec28430402f49937d9505691f20 (diff) | |
download | ffmpeg-streaming-7cb8f314db095715698329fafae5eadeb5504610.zip ffmpeg-streaming-7cb8f314db095715698329fafae5eadeb5504610.tar.gz |
remove non portable get/put_be64_double()
Originally committed as revision 4461 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 17a5bdf..f6f65c1 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -210,17 +210,6 @@ void put_be32(ByteIOContext *s, unsigned int val) put_byte(s, val); } -/* IEEE format is assumed */ -void put_be64_double(ByteIOContext *s, double val) -{ - union { - double d; - uint64_t ull; - } u; - u.d = val; - put_be64(s, u.ull); -} - void put_strz(ByteIOContext *s, const char *str) { if (str) @@ -449,17 +438,6 @@ unsigned int get_be32(ByteIOContext *s) return val; } -double get_be64_double(ByteIOContext *s) -{ - union { - double d; - uint64_t ull; - } u; - - u.ull = get_be64(s); - return u.d; -} - char *get_strz(ByteIOContext *s, char *buf, int maxlen) { int i = 0; |