Commit 8ec9793a authored by Martin Storsjö's avatar Martin Storsjö

ivf: Use _ftelli64 instead of ftello for MSVC

ftello isn't available on MSVC.

On MinGW, both ftello and _ftelli64 are available. MinGW provides
the _ftelli64 even on msvcrt versions that don't actually have
such a function by providing a statically linked wrapper. But
since the ftello function also is available (also provided as
a similar wrapper), keep using that.
parent 4874e846
......@@ -36,6 +36,10 @@
#include "input/demuxer.h"
#ifdef _MSC_VER
#define ftello _ftelli64
#endif
typedef struct DemuxerPriv {
FILE *f;
} IvfInputContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment