# HG changeset patch # User nenolod # Date 1130209454 25200 # Node ID aabb32732ad3c2b0a9847afec9f938eab5717896 # Parent a3913b2d0acdf4a1557eed327a01f449f6df1266 [svn] I hate macros. diff -r a3913b2d0acd -r aabb32732ad3 Input/aac/libmp4v2/mp4file_io.cpp --- a/Input/aac/libmp4v2/mp4file_io.cpp Mon Oct 24 16:57:20 2005 -0700 +++ b/Input/aac/libmp4v2/mp4file_io.cpp Mon Oct 24 20:04:14 2005 -0700 @@ -36,7 +36,7 @@ throw new MP4Error(errno, "MP4GetPosition"); } uint64_t ret; - FPOS_TO_VAR(fpos, uint64_t, ret); + ret = (u_int64_t) fpos; return ret; } else { return m_memoryBufferPosition; @@ -51,8 +51,7 @@ pFile = m_pFile; } - fpos_t fpos; - VAR_TO_FPOS(fpos, pos); + fpos_t fpos = (fpos_t) pos; if (fsetpos(pFile, &fpos) < 0) { throw new MP4Error(errno, "MP4SetPosition"); }