#include <string.h>
#ifdef __MINGW32__
+#undef fseeko
#define fseeko(x, y, z) fseeko64(x, y, z)
+#undef ftello
#define ftello(x) ftello64(x)
#elif defined(_WIN32)
+#undef fseeko
#define fseeko(x, y, z) _fseeki64(x, y, z)
+#undef ftello
#define ftello(x) _ftelli64(x)
#endif
int bytes_to_copy;
if (argc != 3) {
- printf("Usage: qt-faststart <infile.mov> <outfile.mov>\n");
+ printf("Usage: qt-faststart <infile.mov> <outfile.mov>\n"
+ "Note: alternatively you can use -movflags +faststart in avconv\n");
return 0;
}