You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
qt-faststart: Use other seek/tell functions on MSVC than on mingw
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -32,6 +32,9 @@
|
|||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
#define fseeko(x, y, z) fseeko64(x, y, z)
|
#define fseeko(x, y, z) fseeko64(x, y, z)
|
||||||
#define ftello(x) ftello64(x)
|
#define ftello(x) ftello64(x)
|
||||||
|
#elif defined(_WIN32)
|
||||||
|
#define fseeko(x, y, z) _fseeki64(x, y, z)
|
||||||
|
#define ftello(x) _ftelli64(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
|
#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
|
||||||
|
Reference in New Issue
Block a user